Skip to content

Defined.cr Build Docs #177

Defined.cr Build Docs

Defined.cr Build Docs #177

Workflow file for this run

name: Defined.cr Build Docs
on:
schedule:
- cron: '0 3 * * *'
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: crystallang/crystal
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Build docs
run: crystal docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs