forked from bcgov/namerequest
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 805 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
name: NAMEREQUEST UI CD
on:
push:
branches:
- main
paths:
- 'app/**'
workflow_dispatch:
inputs:
environment:
description: "Environment"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
tagname:
description: "Specify a previous version (git tag) to deploy"
required: false
default: ""
jobs:
namerequest-ui-cd:
uses: bcgov/bcregistry-sre/.github/workflows/ui-cd-node20.yaml@main
with:
environment: ${{ inputs.environment }}
tagname: ${{ inputs.tagname }}
working_directory: 'app'
secrets:
APP_NAME: "namerequest"
OP_CONNECT_URL: ${{ secrets.OP_CONNECT_URL }}
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }}