This action uses the Azure CLI to upload a directory of your choice to your Azure File Storage.
It is a fork of https://github.com/cahaseler/azure-fileshare-upload.
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: vanyae-cqc/[email protected]
with:
account_name: storageaccount
account_key: ${{secrets.ACCOUNT_KEY}}
share_name: azure-fileshare
source_dir: config
destination_path: '/my_fileshare_directory'
cloud: AzureUSGovernment