From 81d3042cd487db4b43fba68b23fb574e09e236c8 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 21 Oct 2024 12:43:44 -0600 Subject: [PATCH] revert frontent push change --- .github/workflows/build-deploy-frontend.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-deploy-frontend.yml b/.github/workflows/build-deploy-frontend.yml index 29b74ccb..08b59912 100644 --- a/.github/workflows/build-deploy-frontend.yml +++ b/.github/workflows/build-deploy-frontend.yml @@ -1,9 +1,7 @@ name: Build and Deploy Frontend on: - push: - branches: enable-auto-scaling-tf - # workflow_dispatch: + workflow_dispatch: permissions: id-token: write @@ -27,7 +25,7 @@ jobs: - name: Install NPM packages run: npm ci - name: Build project - run: VITE_API_URL='https://reportvision-ocr-dev2.azurewebsites.net/' npm run build + run: VITE_API_URL='https://reportvision-ocr-dev.azurewebsites.net/' npm run build - name: Run unit tests run: npm run test - name: Create client build archive @@ -45,7 +43,7 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest - environment: dev2 + environment: build-frontend-dev needs: [build] steps: - name: Download Artifacts To Job @@ -68,7 +66,7 @@ jobs: - name: Upload to Azure blob storage shell: bash run: | - az storage blob upload-batch --account-name reportvisionfrontenddev2 -d '$web' -s client-build/ --overwrite + az storage blob upload-batch --account-name reportvisionfrontenddev -d '$web' -s client-build/ --overwrite - name: Azure logout shell: bash run: |