Skip to content

Merge pull request #25 from crystal-garage/fix/crystal-nightly #65

Merge pull request #25 from crystal-garage/fix/crystal-nightly

Merge pull request #25 from crystal-garage/fix/crystal-nightly #65

Workflow file for this run

name: website
on:
push:
branches: [ develop ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
run: shards install
- name: Generate documentation
run: crystal docs
-
name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}