Deploy Control Plane staging app #11
This file contains hidden or 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 Staging to Control Plane | |
| run-name: Deploy Control Plane staging app | |
| on: | |
| push: | |
| # GitHub does not allow repository vars in branch filters. Default to the common | |
| # deploy branches unless `cpflow generate-github-actions --staging-branch BRANCH` | |
| # was used. If STAGING_APP_BRANCH is later changed in repository variables, keep | |
| # this list in sync so pushes to that branch actually trigger the workflow. | |
| branches: ["main", "master"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy-staging: | |
| uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@8e9c0c5e9991ac8651ae2721830bf5231f34de5c | |
| with: | |
| control_plane_flow_ref: 8e9c0c5e9991ac8651ae2721830bf5231f34de5c | |
| staging_app_branch_default: "" | |
| secrets: inherit |