This action uses the Azure CLI to upload a directory of your choice to your Azure File Storage.
Place in a .yml
file in your .github/workflows
folder.
name: Upload To Azure FileShare
on:
push:
branches:
- master
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cahaseler/[email protected]
with:
account_name: storageaccount
account_key: ${{secrets.ACCOUNT_KEY}}
share_name: azure-fileshare
source_dir: config
cloud: AzureUSGovernment