Skip to content

Commit

Permalink
GitHub: Upload to blog storage (#13644)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Nov 2, 2023
1 parent 8c888f3 commit a827a37
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,22 @@ jobs:
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

- uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Upload to blob storage
uses: azure/powershell@v1
with:
inlineScript: |
az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "test" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
azPSVersion: "latest"

# Azure logout
- name: logout
run: |
az logout
- name: Upload the packages to GitHub Actions
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit a827a37

Please sign in to comment.