Skip to content

Merge pull request #12 from naqvis/patch-crystal-ver #14

Merge pull request #12 from naqvis/patch-crystal-ver

Merge pull request #12 from naqvis/patch-crystal-ver #14

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Build
run: crystal docs
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
CLEAN: true