Add the options
argument to the macro parse
.
#10
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
# From https://github.com/luckyframework/lucky/blob/main/.github/workflows/docs.yml | |
# Thanks lucky! | |
name: Deploy docs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: crystal-lang/install-crystal@v1 | |
with: | |
crystal: latest | |
- name: "Install shards" | |
run: shards install | |
- name: "Generate docs" | |
run: crystal docs | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |