Skip to content

Commit

Permalink
Demo enable gh actions manual trigger (#5933)
Browse files Browse the repository at this point in the history
* feat(deploy): enable manual triggering

* fix(deploy): use the default azure/CLI version

* doc(deploy): update action trigger guid

* feat(deploy): enable manual triggering for docs

* feat(deploy): clear storage before uploading

* feat(deploy): use test branch for deploy

* fix(deploy): code clean up

* fix(deploy): command issues

* fix(deploy): command issues

* feat(deploy): switch deploy branch to demo

Co-authored-by: artem.zaiko.ext <[email protected]>
  • Loading branch information
azaiko-akveo and artem.zaiko.ext authored Apr 28, 2022
1 parent 2fdd873 commit 77448e4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/azureCliDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@ jobs:
npm install
npm run build:demo:prod
# Azure CLI Upload to storage
# Azure CLI
- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }}
# Clear storage
- name: Clear blob storage
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob delete-batch -s '$web' --account-name ngxadmin --debug
# Upload to storage
- name: Upload to blob storage
uses: azure/CLI@v1
with:
Expand Down

0 comments on commit 77448e4

Please sign in to comment.