mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
change: Call create-nginx from deploy and run it standalone only for changes to nginx itself
This commit is contained in:
@@ -6,7 +6,10 @@ on:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docker/**/nginx/**'
|
||||
- 'docker/**/nginx/certificates-available/**'
|
||||
- 'docker/**/nginx/Dockerfile'
|
||||
- 'docker/**/nginx/entrypoint.sh'
|
||||
- 'docker/**/nginx/nginx.conf'
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
||||
@@ -52,6 +52,8 @@ jobs:
|
||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
shell: bash
|
||||
- name: Create nginx image
|
||||
uses: 2martens/cloud-configuration/.github/workflows/create-nginx.yaml@main
|
||||
- name: Insert secrets
|
||||
if: steps.check.outputs.should_deploy == 'true'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user