Refactor components to be responsible for rendering their own childre… #263
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: 'Deploy' | |
on: | |
push: | |
branches: | |
- main | |
- staging | |
workflow_dispatch: | |
jobs: | |
build-image-doj: | |
uses: ./.github/workflows/_docker-build-image.yml | |
secrets: inherit | |
with: | |
app-name: server-doj | |
tag-name: ${{ github.ref_name }} | |
build-image-kansas: | |
uses: ./.github/workflows/_docker-build-image.yml | |
secrets: inherit | |
with: | |
app-name: server-kansas | |
tag-name: ${{ github.ref_name }} | |
deploy: | |
needs: [build-image-doj, build-image-kansas] | |
uses: ./.github/workflows/_terraform-apply.yml | |
secrets: inherit | |
with: | |
deploy-env: ${{ github.ref_name }} |