Skip to content

Commit

Permalink
explain what the start task is for
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgriff committed Dec 20, 2024
1 parent 2e13f01 commit 16fe5ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-deploy-all-environments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ jobs:
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/cancel
start_dev:
# This "Start" task is to work around a bug in GitHub
# Without this, when you manually re-run the "Terraform (dev)" job, it also kicks off the "Terraform (prod)" job
# It only started doing this once we moved the Terraform shared functionality into a sub-workflow
name: 'Start (dev)'
runs-on: ubuntu-latest
needs: [pause_workflow]
environment: dev
steps:
- name: 'No-op'
run: echo "Hello"
Expand Down Expand Up @@ -135,10 +137,12 @@ jobs:
name: build-zip

start_prod:
# This "Start" task is to work around a bug in GitHub
# Without this, when you manually re-run the "Terraform (dev)" job, it also kicks off the "Terraform (prod)" job
# It only started doing this once we moved the Terraform shared functionality into a sub-workflow
name: 'Start (prod)'
runs-on: ubuntu-latest
needs: [pause_workflow]
environment: dev
steps:
- name: 'No-op'
run: echo "Hello"
Expand Down

0 comments on commit 16fe5ac

Please sign in to comment.