mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +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:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'docker/**/nginx/**'
|
- 'docker/**/nginx/certificates-available/**'
|
||||||
|
- 'docker/**/nginx/Dockerfile'
|
||||||
|
- 'docker/**/nginx/entrypoint.sh'
|
||||||
|
- 'docker/**/nginx/nginx.conf'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ jobs:
|
|||||||
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
echo "should_deploy=false" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
- name: Create nginx image
|
||||||
|
uses: 2martens/cloud-configuration/.github/workflows/create-nginx.yaml@main
|
||||||
- name: Insert secrets
|
- name: Insert secrets
|
||||||
if: steps.check.outputs.should_deploy == 'true'
|
if: steps.check.outputs.should_deploy == 'true'
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user