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: