This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
Merge pull request #94 from Charibdys/v1.1 #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy documentation | |
on: | |
push: | |
branches: [ "master" ] | |
permissions: | |
contents: write | |
jobs: | |
deploy_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
- name: Build | |
run: shards install && crystal docs | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages | |
folder: docs | |
single-commit: true |