-
Notifications
You must be signed in to change notification settings - Fork 26
40 lines (38 loc) · 913 Bytes
/
cd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: BCREGISTRY UI CD
on:
push:
branches:
- main
- feature*
- hotfix*
- release*
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:
bcregistry-ui-cd:
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main
with:
target: ${{ inputs.target }}
node_version: "20.15.0"
app_name: "bcregistry"
working_directory: "."
redeploy: ${{ inputs.redeploy }}
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}