Skip to content

Commit

Permalink
Update frontend deploy for demo env (#353)
Browse files Browse the repository at this point in the history
* Update frontend only build and deploy for demo

* Update Frontend deploy workflow for demo env

* whoops didnt change var

* wip

* put into seperate steps

* wip

* wip

* ship to 3 instead

* wip

* try with demo again

* boom got it

---------

Co-authored-by: Administrator <[email protected]>
  • Loading branch information
derekadombek and Administrator authored Oct 29, 2024
1 parent 466e028 commit 8002d3f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
- dev4
- dev5
- dev6
- demo
demo-blob-name:
description: 'After the demo env gets created, copy its blob storage name here'
required: false

permissions:
id-token: write
Expand Down Expand Up @@ -78,7 +82,11 @@ jobs:
- name: Upload to Azure blob storage
shell: bash
run: |
az storage blob upload-batch --account-name reportvisionfrontend${{ inputs.deploy-env }} -d '$web' -s client-build/ --overwrite
if [ -z "${{ inputs.demo-blob-name }}" ]; then
az storage blob upload-batch --account-name reportvisionfrontend${{ inputs.deploy-env }} -d '$web' -s client-build/ --overwrite
else
az storage blob upload-batch --account-name ${{ inputs.demo-blob-name }} -d '$web' -s client-build/ --overwrite
fi
- name: Azure logout
shell: bash
run: |
Expand Down

0 comments on commit 8002d3f

Please sign in to comment.