mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix: Reference workflow from extra job
This commit is contained in:
@@ -31,11 +31,15 @@ jobs:
|
||||
id: detect
|
||||
run: |
|
||||
echo "changed_envs=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^docker/' | cut -d/ -f2 | sort -u | tr '\n' ' ')" >> "$GITHUB_OUTPUT"
|
||||
update-nginx:
|
||||
name: Update Nginx image
|
||||
uses: 2martens/cloud-configuration/.github/workflows/create-nginx.yaml@main
|
||||
deploy:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- fact-finding
|
||||
- update-nginx
|
||||
strategy:
|
||||
matrix:
|
||||
env: [ test ]
|
||||
@@ -52,8 +56,6 @@ 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