Skip to content

Commit

Permalink
ci-cd: Run jobs in specific enviroments
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomSpaceship committed Dec 22, 2024
1 parent 675ed58 commit d24eacb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
docs-shell:
name: Build docs dev shell
runs-on: ubuntu-latest
environment: binary-deployment
if: ${{ (needs.changes.outputs.docs-shell == 'true') || (needs.changes.outputs.manual == 'true') }}
needs: [changes, format]
steps:
Expand All @@ -55,6 +56,7 @@ jobs:
docs:
name: Build docs
runs-on: ubuntu-latest
environment: docs-deployment
if: ${{ (needs.changes.outputs.docs == 'true') || (needs.changes.outputs.manual == 'true') }}
needs: [changes, format, docs-shell]
steps:
Expand Down Expand Up @@ -87,6 +89,7 @@ jobs:
build:
name: Build software
runs-on: ubuntu-latest
environment: binary-deployment
if: ${{ (needs.changes.outputs.software == 'true') || (needs.changes.outputs.manual == 'true') }}
needs: [changes, format]
steps:
Expand Down

0 comments on commit d24eacb

Please sign in to comment.