Skip to content

Merge pull request #1 from aurium/patch-1 #59

Merge pull request #1 from aurium/patch-1

Merge pull request #1 from aurium/patch-1 #59

Workflow file for this run

name: mnbook
on:
push:
branches:
- main
- master
- "releases/*"
pull_request:
branches:
- main
- master
types:
- closed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- run: go version
- run: go install github.com/wa-lang/mnbook@latest
- run: make build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.WA_DEPLOY }}
publish_dir: ./book
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'