Skip to content

Merge pull request #13 from xendk/shard-version #15

Merge pull request #13 from xendk/shard-version

Merge pull request #13 from xendk/shard-version #15

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/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
CLEAN: true