Skip to content

Commit

Permalink
Add deployment scripts for dev and staging, and test out running the …
Browse files Browse the repository at this point in the history
…dev one from this branch
  • Loading branch information
helenb committed Dec 5, 2023
1 parent 5f66f1f commit 8ae75bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:
test:
uses: ./.github/workflows/test.yaml

deploy:
deploy_production:
if: contains(github.ref, 'master')
needs: [lint, test]
uses: ./.github/workflows/deploy-production.yaml

deploy:
deploy_dev:
if: contains(github.ref, 'dev')
needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml

deploy:
deploy_staging:
if: contains(github.ref, 'staging')
needs: [lint, test]
uses: ./.github/workflows/deploy-staging.yaml

# this is to test a deployment script
deploy:
deploy_test:
if: contains(github.ref, 'chore/github-actions')
needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml

0 comments on commit 8ae75bc

Please sign in to comment.