Merge pull request #14 from spoved/kalinon/issue12 #54
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
# This CI job installs Crystal and shard dependencies, then executes `crystal spec` to run the test suite | |
# More configuration options are available at https://crystal-lang.github.io/install-crystal/configurator.html | |
on: | |
push: | |
branches: [master] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download source | |
uses: actions/checkout@v2 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: ${{ matrix.crystal }} | |
- name: Install shards | |
run: shards update --ignore-crystal-version | |
- name: Build docs | |
run: crystal ./support/gen_docs.cr | |
- name: Deploy docs | |
uses: JamesIves/github-pages-deploy-action@4.1.7 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs # The folder the action should deploy. |