Merge pull request #413 from dimak1/examiner-dashboard #2
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: STRR Examiner UI CD | |
on: | |
push: | |
branches: | |
- main | |
- feature* | |
- hotfix* | |
- release* | |
paths: | |
- "strr-examiner-web/**" | |
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: | |
examiner-ui-cd: | |
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main | |
with: | |
target: ${{ inputs.target }} | |
app_name: "strr-examiner-ui" | |
working_directory: "./strr-examiner-web" | |
node_version: 20 | |
redeploy: ${{ inputs.redeploy }} | |
secrets: | |
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }} | |
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }} |