From 2c7adf8188ec355fc5c4f762a7d418ac4fde410f Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:18:00 +0200 Subject: [PATCH] Cleaner deployment 2 --- .github/workflows/deploy1.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy1.yml b/.github/workflows/deploy1.yml index 6b12e6e..f9558a8 100644 --- a/.github/workflows/deploy1.yml +++ b/.github/workflows/deploy1.yml @@ -12,6 +12,8 @@ jobs: update-versions: runs-on: "ubuntu-latest" + outputs: + skip: "${{ steps.check_recursive.outputs.skip || 'false' }}" # Default to false if not set steps: - uses: "actions/checkout@v4" with: # Ensure we are not in a detached HEAD state @@ -56,6 +58,7 @@ jobs: deploy: # Makes sure all artifacts are updated and use the new version for the next deployment steps needs: "update-versions" + if: "needs.update-versions.outputs.skip != 'true'" # Only run if the update-versions job did not skip uses: "./.github/workflows/deploy2.yml" secrets: "inherit" # Inherit the secrets from the parent workflow with: