parsetoml: support compiling with strictFuncs again (#62) #12
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: GenerateDocs | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
gen_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: alaviss/[email protected] | |
with: | |
path: 'nim' | |
version: 'devel' | |
- name: Pull kaushalmodi's global config.nims # For 'nim docs' | |
run: nim pullConfig | |
- name: Generate docs | |
run: nim docs | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/[email protected] | |
with: | |
# Note that the GITHUB_TOKEN is NOT a personal access | |
# token. A GitHub Actions runner automatically creates a | |
# GITHUB_TOKEN secret to authenticate in your workflow. | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |