Skip to content

Commit

Permalink
add docs workflow to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGranstrom committed Jun 11, 2023
1 parent 38eba6b commit 1ffe282
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generate nimiSlides docs

on:
push:
branches:
- master

jobs:
gen:
name: Generate and deploy docs
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v4
- name: Generate
run: |
nimble install -y
nimble buildDocs
nimble docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit 1ffe282

Please sign in to comment.