Business API - update dod allowable rules and dissolution warning (#4… #405
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: Business API CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - feature* | |
| - hotfix* | |
| paths: | |
| - "legal-api/**" | |
| workflow_dispatch: | |
| inputs: | |
| target: | |
| description: "Deploy To" | |
| required: true | |
| type: choice | |
| options: | |
| - "dev" | |
| - "test" | |
| - "sandbox" | |
| - "prod" | |
| redeploy: | |
| description: "Redeploy Application" | |
| required: true | |
| type: choice | |
| options: | |
| - "false" | |
| - "true" | |
| jobs: | |
| business-api-cd: | |
| uses: bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main | |
| with: | |
| target: ${{ inputs.target }} | |
| cd_runner_version: "1.0.0" | |
| app_name: "business-api" | |
| working_directory: "./legal-api" | |
| redeploy: ${{ inputs.redeploy }} | |
| secrets: | |
| WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} | |
| GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} |