Skip to content

Commit

Permalink
Copy web folder before update
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertsak committed Mar 2, 2023
1 parent f74b46e commit 7e94f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/medicines-web-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ jobs:
name: medicines-pa11y-screenshots
path: medicines/web/pa11y-screenshots

- name: Test azure cli function
- name: Deploy products web to static site in azure storage using azure cli
uses: Azure/cli@v1.0.7
with:
azcliversion: latest
inlineScript: |
az storage blob upload-batch -d "gtestremove" -s"medicines/web/dist" --overwrite true --connection-string "${{ secrets.AZURE_STORAGE_PRODUCTS_WEB_CONNECTION_STRING }}"
az storage blob copy start --destination-container "web-copy" --source-container "$web" --connection-string "${{ secrets.AZURE_STORAGE_PRODUCTS_WEB_CONNECTION_STRING }}"

0 comments on commit 7e94f12

Please sign in to comment.