Skip to content

Commit

Permalink
ship to 3 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Oct 28, 2024
1 parent 534a32a commit a019302
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

env:
demo-blob-name:
deploy-env: dev4
deploy-env: dev3

permissions:
contents: read
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Install NPM packages
run: npm ci
- name: Build project
run: VITE_API_URL='https://reportvision-ocr-dev4.azurewebsites.net/' npm run build
run: VITE_API_URL='https://reportvision-ocr-dev3.azurewebsites.net/' npm run build
- name: Run unit tests
run: npm run test
- name: Create client build archive
Expand All @@ -67,7 +67,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
environment: dev4
environment: dev3
needs: [build]
steps:
- name: Download Artifacts To Job
Expand All @@ -91,7 +91,7 @@ jobs:
shell: bash
run: |
if [ -z "${{ env.demo-blob-name }}" ]; then
az storage blob upload-batch --account-name reportvisionfrontenddev4 -d '$web' -s client-build/ --overwrite
az storage blob upload-batch --account-name reportvisionfrontenddev3 -d '$web' -s client-build/ --overwrite
else
az storage blob upload-batch --account-name ${{ env.demo-blob-name }} -d '$web' -s client-build/ --overwrite
fi
Expand Down

0 comments on commit a019302

Please sign in to comment.