Skip to content

An action designed to allow folders in github to be pushed to Azure Fileshares using the Azure CLI

Notifications You must be signed in to change notification settings

vanyae-cqc/azure-fileshare-upload

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

It is a fork of https://github.com/cahaseler/azure-fileshare-upload.

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: 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

About

An action designed to allow folders in github to be pushed to Azure Fileshares using the Azure CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 59.4%
  • Dockerfile 40.6%