Skip to content

Commit 5aeb73e

Browse files
author
opentofu[bot]
committed
chore(CI): add github workflow
1 parent ff80388 commit 5aeb73e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ jobs:
3737
name: dist-${{ github.run_number }}
3838
path: dist
3939
- name: Azure CLI Login
40-
uses: azure/login@a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0
40+
uses: azure/login@v2
4141
with:
4242
client-id: ${{ secrets.AZURE_CLIENT_ID }}
4343
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4444
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4545
- name: Upload to blob storage
4646
run: |
47+
az account show
4748
az storage blob upload-batch --account-name ${{ secrets.STORAGE_ACCOUNT_NAME }} -d '$web' -s dist
4849
az cdn endpoint purge --content-paths "/*" --profile-name ${{ secrets.CDN_PROFILE_NAME }} --name ${{ secrets.CDN_ENDPOINT }} --resource-group ${{ secrets.CDN_RESOURCE_GROUP }}

0 commit comments

Comments
 (0)