AmrShrwnh / deploy-to-azure-blob-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Based on Azure Storage Action

Sample workflow


on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps: 
    - uses: actions/checkout@v1
    - uses: actions/setup-dotnet@v1
      with:
        dotnet-version: '3.0.100'
    - uses: AmrShrwnh/deploy-to-azure-blob-storage@master 
      with:
        enabled-static-website: 'true'
        folder: 'MyFolder'
        index-document: 'index.html'
        error-document: '404.html' # For apps with routing enabled, this must point to the index.html file because the requested routes don't exist phyiscally and blob storage would throw a 404.
        connection-string: ${{ secrets.CONNECTION_STRING }}

Accepts index-document & error-document as workflow inputs

About


Languages

Language:C# 97.1%Language:JavaScript 2.9%