Skip to content

I think I fixed the compiler errors with the correct exports #37

I think I fixed the compiler errors with the correct exports

I think I fixed the compiler errors with the correct exports #37

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: docGen
# Controls when the workflow will run
on:
# Triggers the workflow on push
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Install Nim
# You may pin to the exact commit or the version.
# uses: iffy/install-nim@7dd1812db4916d00b984d1c43339346a76e05487
uses: iffy/[email protected]
# with:
# version: # optional, default is stable
- name: Install deps
run: nimble install -y
- name: Nimble genDocs
run: |
nimble genDocs
cp -r ./docs ./_site
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v1