Skip to content

Commit

Permalink
fix: crunchy , merge workflow (#2136)
Browse files Browse the repository at this point in the history
Signed-off-by: OMPRAKASH MISHRA <[email protected]>
Co-authored-by: Derek Roberts <[email protected]>
  • Loading branch information
mishraomp and DerekRoberts authored Oct 25, 2024
1 parent 58e34f3 commit 4ffc919
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ jobs:
- name: PR Number
id: pr
uses: bcgov-nr/[email protected]

deploy_db:
name: Deploys Database
uses: ./.github/workflows/.dbdeployer.yml
secrets:
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
environment: test
# https://github.com/bcgov/quickstart-openshift-helpers
deploy-test:
name: Deploy (test)
Expand All @@ -44,6 +51,14 @@ jobs:
environment: test
db_user: app

deploy_db_prod:
name: Deploys Database PROD
uses: ./.github/workflows/.dbdeployer.yml
secrets:
oc_namespace: ${{ secrets.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
environment: prod
deploy-prod:
name: Deploy (prod)
needs: [deploy-test, vars]
Expand Down

0 comments on commit 4ffc919

Please sign in to comment.