Skip to content

Merge pull request #172 from rhysnewell/dev #13

Merge pull request #172 from rhysnewell/dev

Merge pull request #172 from rhysnewell/dev #13

Workflow file for this run

name: Deploy documentation site
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'doctave.yml'
workflow_dispatch:
jobs:
build:
name: Deploys
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main
- name: 'Setup homebrew'
uses: Homebrew/actions/setup-homebrew@master
- name: 'Build and deploy'
shell: bash
run: |
brew install doctave/doctave/doctave
doctave build --release --allow-failed-checks
- name: GitHub Pages
if: github.ref == 'refs/heads/main'
uses: crazy-max/[email protected]
with:
build_dir: site/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}