Skip to content

⬆️ Update eifinger/setup-rye action to v4.2.8 #1136

⬆️ Update eifinger/setup-rye action to v4.2.8

⬆️ Update eifinger/setup-rye action to v4.2.8 #1136

Workflow file for this run

---
name: Documentation
on:
push:
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: ‡️ Check out code from GitHub
uses: actions/[email protected]
- name: πŸ— Set up Node.js
uses: actions/[email protected]
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/[email protected]