Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwei1018 authored Dec 18, 2024
1 parent 3547537 commit e0d9172
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,27 @@ on:
push:
branches:
- main
- feature*
- hotfix*
- release
workflow_dispatch:
inputs:
target:
description: "Deploy To"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
- "dev"
- "test"
- "sandbox"
- "prod"
redeploy:
description: "Redeploy Application"
required: true
type: choice
options:
- "false"
- "true"

jobs:
bcregistry-ui-cd:
Expand All @@ -24,6 +34,7 @@ jobs:
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 }}

0 comments on commit e0d9172

Please sign in to comment.