Skip to content

Commit

Permalink
Add GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
moigagoo committed Dec 28, 2024
1 parent fcdbda2 commit c8c9c3d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy Docs

on:
push:
branches:
- develop

jobs:
Docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.2.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docs
run: nimble docs

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit c8c9c3d

Please sign in to comment.