Skip to content

Commit a827a37

Browse files
authored
GitHub: Upload to blog storage (#13644)
1 parent 8c888f3 commit a827a37

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/deploy-preview.yml

+16
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,22 @@ jobs:
148148
timestamp-rfc3161: http://timestamp.acs.microsoft.com
149149
timestamp-digest: SHA256
150150

151+
- uses: azure/login@v1
152+
with:
153+
creds: ${{ secrets.AZURE_CREDENTIALS }}
154+
155+
- name: Upload to blob storage
156+
uses: azure/powershell@v1
157+
with:
158+
inlineScript: |
159+
az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "test" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
160+
azPSVersion: "latest"
161+
162+
# Azure logout
163+
- name: logout
164+
run: |
165+
az logout
166+
151167
- name: Upload the packages to GitHub Actions
152168
uses: actions/upload-artifact@v3
153169
with:

0 commit comments

Comments
 (0)