Add nbFile overload for file embedding (#219) #56
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
gh-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install nim | |
id: install_nim | |
uses: iffy/install-nim@v3 | |
- name: install library dependencies | |
run: nimble install -y | |
- name: install doc dependencies | |
run: nimble docsdeps | |
- name: build docs | |
run: nimble docs | |
- name: deploy on github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs |