Skip to content

Upload to Azure Storage #4

Upload to Azure Storage

Upload to Azure Storage #4

Workflow file for this run

name: Upload to Azure Storage
on:
workflow_dispatch:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Azure CLI
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Create storage container if it does not exist
run: |
az storage container create --name ghaf-releases-container --account-name <your-storage-account-name> --auth-mode login
- name: Upload files to Azure Storage
run: |
az storage blob upload-batch -d 'ghaf-releases-container' -s . --account-name <your-storage-account-name> --overwrite --auth-mode login