change: Call create-nginx from deploy and run it standalone only for changes to nginx itself

This commit is contained in:
2025-08-03 01:50:57 +02:00
parent ba7ea4a49c
commit 99548d86b1
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -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
+2
View File
@@ -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: