forked from bcgov/STRR
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (44 loc) · 1.14 KB
/
strr-auto-approval-job-cd.yaml
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
41
42
43
44
45
46
name: STRR APPLICATION AUTO APPROVAL JOB CD
on:
push:
branches:
- main
- feature*
- hotfix*
- release*
paths:
- "jobs/auto-approval/**"
- "src/strr_api/models/**"
- "src/strr_api/services/**"
- "src/strr_api/enums/**"
- "src/strr_api/exceptions/**"
- "src/strr_api/utils/**"
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:
strr-auto-approval-cd:
uses: bcgov/bcregistry-sre/.github/workflows/backend-job-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "strr-auto-approval"
working_directory: "./jobs/auto-approval"
redeploy: ${{ inputs.redeploy }}
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}