mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
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 <artem.zaiko.ext@munichgeneral.com>
This commit is contained in:
parent
2f76eab493
commit
7d31ceeab8
1 changed files with 8 additions and 1 deletions
9
.github/workflows/azureCliDeploy.yml
vendored
9
.github/workflows/azureCliDeploy.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue