Merge pull request #141 from pwei1018/main #3
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: Notify API CD OCP | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "notify-api/**" | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "Deploy To" | ||
required: true | ||
type: choice | ||
options: | ||
- dev | ||
- test | ||
- prod | ||
jobs: | ||
notify-api-cd: | ||
Check failure on line 21 in .github/workflows/notify-api-cd-ocp.yaml GitHub Actions / Notify API CD OCPInvalid workflow file
|
||
uses: bcgov/bcregistry-sre/.github/workflows/backend-cd-ocp.yaml@main | ||
with: | ||
target: ${{ inputs.target }} | ||
app_name: "notify-api" | ||
working_directory: "./notify-api" | ||
secrets: | ||
OP_CONNECT_URL: ${{ secrets.OP_CONNECT_URL }} | ||
OP_CONNECT_TOKEN: ${{ secrets.OP_CONNECT_TOKEN }} | ||
OPENSHIFT_DOCKER_REGISTRY: ${{ secrets.OPENSHIFT_DOCKER_REGISTRY }} | ||
OPENSHIFT_LOGIN_REGISTRY: ${{secrets.OPENSHIFT_LOGIN_REGISTRY}} | ||
OPENSHIFT_SA_NAME: ${{ secrets.OPENSHIFT_SA_NAME }} | ||
OPENSHIFT_SA_TOKEN: ${{ secrets.OPENSHIFT_SA_TOKEN }} | ||
OPENSHIFT_REPOSITORY: ${{ secrets.OPENSHIFT_REPOSITORY }} |