Skip to content
arrow-up

GitHub Action

Azure File Share Upload

v1.0.0 Latest version

Azure File Share Upload

arrow-up

Azure File Share Upload

Uploads folders to Azure File Share

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Azure File Share Upload

uses: cahaseler/[email protected]

Learn more about this action in cahaseler/azure-fileshare-upload

Choose a version

GitHub Action to Upload Directories to Azure FileShare

This action uses the Azure CLI to upload a directory of your choice to your Azure File Storage.

Usage

Example

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