Skip to content

cahaseler/azure-fileshare-upload

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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.

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/azure-fileshare-upload@v1.0.0
        with:
          account_name: storageaccount
          account_key: ${{secrets.ACCOUNT_KEY}}
          share_name: azure-fileshare
          source_dir: config
          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