Skip to content

Commit

Permalink
fix on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-ey committed Apr 24, 2024
1 parent fb04371 commit 7301e3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bcat-build-and-deploy-dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
oc version
oc login --token=${{ secrets.OPENSHIFT_TOKEN}} --server=${{ secrets.OPENSHIFT_SERVER_URL }}
npm ci
DEBUG=* npm run build -- --pr=${{ github.event.pull_request.number }} --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}
DEBUG=* npm run build -- --pr=1 --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}
deploy-to-dev:
runs-on: ubuntu-latest
Expand All @@ -39,7 +39,7 @@ jobs:
oc version
oc login --token=${{ secrets.OPENSHIFT_TOKEN}} --server=${{ secrets.OPENSHIFT_SERVER_URL }}
npm ci
DEBUG=* npm run deploy -- --pr=${{ github.event.pull_request.number }} --env=dev --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}
DEBUG=* npm run deploy -- --pr=1 --env=dev --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}
deploy-to-test:
needs: [build, deploy-to-dev]
Expand All @@ -59,4 +59,4 @@ jobs:
oc version
oc login --token=${{ secrets.OPENSHIFT_TOKEN}} --server=${{ secrets.OPENSHIFT_SERVER_URL }}
npm ci
DEBUG=* npm run deploy -- --pr=${{ github.event.pull_request.number }} --env=test --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}
DEBUG=* npm run deploy -- --pr=1 --env=test --git.branch.name=${{github.head_ref}} --git.ref=${{github.head_ref}}

0 comments on commit 7301e3c

Please sign in to comment.