Skip to content

Commit

Permalink
fix(ci): merge workflow deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Mar 6, 2024
1 parent d3e2243 commit 7965a5a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,27 @@ jobs:
id: pr
uses: bcgov-nr/[email protected]

# https://github.com/bcgov-nr/action-deployer-openshift
deploy-test:
name: Deploy (test)
needs: [vars]
uses: ./.github/workflows/.deploy.yml
secrets: inherit
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected]
secrets:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
environment: test
tag: ${{ needs.vars.outputs.pr }}
release: test

deploy-prod:
name: Deploy (prod)
needs: [deploy-test, vars]
uses: ./.github/workflows/.deploy.yml
secrets: inherit
uses: bcgov/quickstart-openshift-helpers/.github/workflows/[email protected]
secrets:
oc_namespace: ${{ vars.OC_NAMESPACE }}
oc_token: ${{ secrets.OC_TOKEN }}
with:
autoscaling: true
environment: prod
tag: ${{ needs.vars.outputs.pr }}
release: prod
params:
--set backend.deploymentStrategy=RollingUpdate
Expand Down

0 comments on commit 7965a5a

Please sign in to comment.