Skip to content

Commit 77448e4

Browse files
azaiko-akveoartem.zaiko.ext
andauthored
Demo enable gh actions manual trigger (#5933)
* 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]>
1 parent 2fdd873 commit 77448e4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/azureCliDeploy.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,17 @@ jobs:
2222
npm install
2323
npm run build:demo:prod
2424
25-
# Azure CLI Upload to storage
25+
# Azure CLI
2626
- uses: azure/login@v1
2727
with:
2828
creds: ${{ secrets.AZURE_RBAC_CREDENTIALS }}
29+
# Clear storage
30+
- name: Clear blob storage
31+
uses: azure/CLI@v1
32+
with:
33+
inlineScript: |
34+
az storage blob delete-batch -s '$web' --account-name ngxadmin --debug
35+
# Upload to storage
2936
- name: Upload to blob storage
3037
uses: azure/CLI@v1
3138
with:

0 commit comments

Comments
 (0)