From 7301e3ca9f42e1e49ac2b36971f3be6661c08e98 Mon Sep 17 00:00:00 2001 From: Jerry Wang Date: Wed, 24 Apr 2024 11:00:23 -0700 Subject: [PATCH] fix on merge --- .github/workflows/bcat-build-and-deploy-dev-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bcat-build-and-deploy-dev-test.yml b/.github/workflows/bcat-build-and-deploy-dev-test.yml index 4bf936d..cc99bd6 100644 --- a/.github/workflows/bcat-build-and-deploy-dev-test.yml +++ b/.github/workflows/bcat-build-and-deploy-dev-test.yml @@ -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 @@ -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] @@ -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}}