Skip to content

Add links to PDF slides, GitHub repository #8

Add links to PDF slides, GitHub repository

Add links to PDF slides, GitHub repository #8

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Pixi
uses: prefix-dev/[email protected]
- name: Generate index.html
run: |
pixi run export-html
rm -rf .pixi .git
- name: Upload index.html, etc. to GitHub Pages
uses: actions/upload-pages-artifact@v4
with:
path: ./
deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4