Skip to content

Merge pull request #11 from vrienstudios/upd #5

Merge pull request #11 from vrienstudios/upd

Merge pull request #11 from vrienstudios/upd #5

Workflow file for this run

name: docs
on:
push:
branches:
- main
jobs:
docs:
env:
NIM_VERSION: 1.0.2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache choosenim
id: cache-choosenim
uses: actions/cache@v1
with:
path: ~/.choosenim
key: ${{ runner.os }}-choosenim-${{ env.NIM_VERSION }}
- uses: jiro4989/[email protected]
- run: nimble docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs