Skip to content

Potential fix for github pages deployment issues #4

Potential fix for github pages deployment issues

Potential fix for github pages deployment issues #4

Workflow file for this run

on:
push:
branches:
- main
permissions:
id-token: write
pages: write
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup nim
uses: jiro4989/setup-nim-action@v2
with:
nim-version: stable
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build docs
run: nimble gendoc -y
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4