Providing a platform flag for the backend #11
Workflow file for this run
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: Orchestration PROD | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
jobs: | |
backend: | |
if: ${{ github.event.pull_request.merged }} | |
name: Backend | |
uses: ./.github/workflows/backend.yml | |
with: | |
environment: PROD | |
secrets: inherit | |
# terraform apply should be run if there were changes to the backend that resulted in a new image | |
infrastructure: | |
name: Infrastructure | |
needs: | |
- backend | |
uses: ./.github/workflows/infrastructure.yml | |
with: | |
environment: PROD | |
secrets: inherit | |