Skip to content

Commit

Permalink
Allow manual trigger
Browse files Browse the repository at this point in the history
Add account subscription to failing command.
Update CLI version (Azure/cli/issues/56).
  • Loading branch information
tonypags committed Mar 16, 2023
1 parent c34a0d2 commit 7b83c2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
Expand All @@ -18,14 +19,14 @@ jobs:
- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: 2.0.72
azcliversion: 2.31.0
inlineScript: |
az storage blob upload-batch --account-name radiopags -d '$web' -s .
az storage blob upload-batch --account-name radiopags -d \$web -s . --subscription ${{ secrets.AZURE_ACCOUNT_WEBSITE_SUB }}
- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: 2.0.72
azcliversion: 2.31.0
inlineScript: |
az cdn endpoint purge --content-paths "/*" --profile-name "radiopags-cdn-profile" --name "radiopags" --resource-group "RadioPags"
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
body, html {
color: green;
color: lime;
background-color: #000000;
font-family: courier;

Expand Down

0 comments on commit 7b83c2f

Please sign in to comment.