Skip to content

fix: build

fix: build #35

Workflow file for this run

name: Deploy docs
on: [push, pull_request]
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v4
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -r requirements.txt
- name: Install Crystal libs
run: shards install
- name: Build site
run: mkdocs build --strict
- name: Deploy to gh-pages
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: mkdocs gh-deploy --force