mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Cleaner deployment 2
This commit is contained in:
3
.github/workflows/deploy1.yml
vendored
3
.github/workflows/deploy1.yml
vendored
@@ -12,6 +12,8 @@ jobs:
|
|||||||
|
|
||||||
update-versions:
|
update-versions:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
outputs:
|
||||||
|
skip: "${{ steps.check_recursive.outputs.skip || 'false' }}" # Default to false if not set
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v4"
|
- uses: "actions/checkout@v4"
|
||||||
with: # Ensure we are not in a detached HEAD state
|
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
|
deploy: # Makes sure all artifacts are updated and use the new version for the next deployment steps
|
||||||
needs: "update-versions"
|
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"
|
uses: "./.github/workflows/deploy2.yml"
|
||||||
secrets: "inherit" # Inherit the secrets from the parent workflow
|
secrets: "inherit" # Inherit the secrets from the parent workflow
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user