Skip to content

Merge pull request #3 from Clonkk/main #1

Merge pull request #3 from Clonkk/main

Merge pull request #3 from Clonkk/main #1

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
ls -l docs/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4