Skip to content

Commit ab40789

Browse files
author
opentofu[bot]
committed
chore(CI): add github workflow
1 parent 06c0fe6 commit ab40789

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ jobs:
4343
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4444
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4545
- name: Upload to blob storage
46-
uses: azure/CLI@v2
47-
with:
48-
azcliversion: latest
49-
inlineScript: |
50-
az storage blob upload-batch --account-name ${{ secrets.STORAGE_ACCOUNT_NAME }} -d '$web' -s .
51-
az cdn endpoint purge --content-paths "/*" --profile-name ${{ secrets.CDN_PROFILE_NAME }} --name ${{ secrets.CDN_ENDPOINT }} --resource-group ${{ secrets.CDN_RESOURCE_GROUP }}
46+
run: |
47+
az storage blob upload-batch --account-name ${{ secrets.STORAGE_ACCOUNT_NAME }} -d '$web' -s .
48+
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)