From 60baec8fe2c583c7ea6fbc533d5fd34eea350a3b Mon Sep 17 00:00:00 2001 From: James N <59348282+RandomSpaceship@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:10:52 +1000 Subject: [PATCH] ci-cd: Run jobs in specific enviroments --- .github/workflows/all.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/all.yaml b/.github/workflows/all.yaml index 057c188..6552e2d 100644 --- a/.github/workflows/all.yaml +++ b/.github/workflows/all.yaml @@ -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: @@ -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: @@ -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: