Skip to content

Merge pull request #65 from richorama/feature/add-readme #46

Merge pull request #65 from richorama/feature/add-readme

Merge pull request #65 from richorama/feature/add-readme #46

Workflow file for this run

name: gh-pages
on: [push]
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Publish with dotnet
run: dotnet publish --configuration Release --output build
working-directory: ./IronBlock.BlazorSample
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BASE_BRANCH: master # The branch the action should deploy from.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: IronBlock.BlazorSample/build/wwwroot # The folder the action should deploy.
SINGLE_COMMIT: true