Skip to content

Commit

Permalink
Merge pull request #6 from timothydodd/dodd/action3
Browse files Browse the repository at this point in the history
Updated deployment
  • Loading branch information
timothydodd authored Sep 27, 2023
2 parents f58d41f + eeb9444 commit 8df5972
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
with:
name: deploy_dist
- name: "Say Hello"
run: echo "Hello storage $STORAGE_ACCOUNT_NAME!"
run: echo "Hello storage $STORAGE_ACCOUNT_NAME!"
- name: Delete blob storage
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob delete-batch --source '$web' --account-name $STORAGE_ACCOUNT_NAME
az storage blob delete-batch --source '$web' --account-name $STORAGE_ACCOUNT_NAME --auth-mode
- name: Upload to blob storage
uses: azure/CLI@v1
with:
Expand All @@ -71,7 +71,7 @@ jobs:
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob update --account-name $STORAGE_ACCOUNT_NAME --container-name '$web' --name 'index.html' --content-cache-control 'no-cache'
az storage blob update --account-name $STORAGE_ACCOUNT_NAME --auth-mode --container-name '$web' --name 'index.html' --content-cache-control 'no-cache'
- name: logout
run: |
az logout
Expand Down

0 comments on commit 8df5972

Please sign in to comment.