Merge pull request #1846 from bcgov/feature/ALCS-2216 #467
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
secrets: inherit | |
deploy-test: | |
uses: ./.github/workflows/deploy.yml | |
with: | |
environment: test | |
secrets: inherit | |
deploy-prod: | |
needs: deploy-test | |
uses: ./.github/workflows/deploy.yml | |
with: | |
environment: prod | |
secrets: inherit |