Skip to content

Commit

Permalink
revert frontent push change
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Oct 21, 2024
1 parent eb9591a commit 81d3042
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Build and Deploy Frontend

on:
push:
branches: enable-auto-scaling-tf
# workflow_dispatch:
workflow_dispatch:

permissions:
id-token: write
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 81d3042

Please sign in to comment.