From 1db167616a25b7e43e256d49ba172d00834dd8ab Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 3 Aug 2025 01:53:15 +0200 Subject: [PATCH] fix: Reference workflow from extra job --- .github/workflows/deploy.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index e8d49cc..fa2b0f6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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: