Skip to content

Commit 831669f

Browse files
committed
Update action script5
1 parent db0728d commit 831669f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/frontend.main.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
15-
- name: Azure Login
16-
uses: azure/login@v1
14+
- uses: azure/login@v1
1715
with:
18-
creds: ${{ secrets.AZURE_CREDENTIALS }}
16+
creds: ${{ secrets.AZURE_CREDENTIALS }}
1917

2018
- name: Upload to blob storage
21-
uses: azure/storage-blob-upload-action@v1
19+
uses: azure/CLI@v1
2220
with:
23-
account-name: cloudresumestorageacc
24-
container-name: '$web'
25-
connection-string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
26-
path: frontend/
27-
pattern: '*'
21+
inlineScript: |
22+
az storage blob upload-batch --account-name cloudresumestorageacc --auth-mode key -d '$web' -s frontend/
23+
# az storage blob upload-batch --account-name cloudresumestorageacc --auth-mode key -d '$web' -s frontend/ --overwrite true
2824
# - name: Purge CDN endpoint
2925
# uses: azure/CLI@v1
3026
# with:

0 commit comments

Comments
 (0)