Skip to content

Typo: a instead of an scary toolbox (#860) #1129

Typo: a instead of an scary toolbox (#860)

Typo: a instead of an scary toolbox (#860) #1129

---
name: Documentation
on:
push:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: ‡️ Check out code from GitHub
uses: actions/checkout@v4.2.2
- name: πŸ— Set up Node.js
uses: actions/setup-node@v4.1.0
with:
node-version-file: "documentation/.nvmrc"
- name: πŸ— Install MyST
run: npm install -g mystmd
- name: πŸš€ Build documenation
working-directory: ./documentation
run: myst build --html
- name: ©️ Public folder
run: cp ./documentation/public/* ./documentation/_build/html/
- name: πŸ†™ Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./documentation/_build/html
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: πŸš€ Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5