Skip to content

Commit

Permalink
remove version, update cli version
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBrownTech authored Apr 30, 2021
1 parent edd07e1 commit 47d1352
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,19 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Upload to blob storage
uses: azure/CLI@V1
uses: Azure/[email protected]
with:
azcliversion: 2.21.0
inlineScript: |
az storage blob upload-batch --account-name stjbtazureresumeprod --destination '$web' --source frontend
- name: Copy function code files
uses: azure/CLI@V1
uses: Azure/[email protected]
with:
azcliversion: 2.21.0
inlineScript: |
az storage file upload --account-name stjbtazureresumeprod --share-name func-jbtresume-prod-001 --source ./backend/VisitorCounter/run.ps1 --path "site/wwwroot/VisitorCounter"
az storage file upload --account-name stjbtazureresumeprod --share-name func-jbtresume-prod-001 --source ./backend/VisitorCounter/function.json --path "site/wwwroot/VisitorCounter"
- name: Purge CDN endpoint
uses: azure/CLI@v1
uses: Azure/[email protected]
with:
azcliversion: 2.21.0
inlineScript: |
az cdn endpoint purge --content-paths "/*" --profile-name "cdnp-azureresume" --name "cdne-jeffbrowntech-me" --resource-group "azureresume-rg" --no-wait
- name: logout
Expand Down

0 comments on commit 47d1352

Please sign in to comment.