-
Notifications
You must be signed in to change notification settings - Fork 48
39 lines (32 loc) · 925 Bytes
/
build.yml
File metadata and controls
39 lines (32 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: build
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
cache: false # 🪲 Bug mitigation
locked: false # 🪲 Bug mitigation
environments: build
- name: LaTeX Install
run: sudo apt-get update && sudo apt-get install texlive-full
- name: Pixi Config
run: pixi config set --local run-post-link-scripts insecure
- name: Slides & Notebooks Build
run: pixi run build --pdf
- name: Deployment Setup
run: rm .gitignore
- name: Deployment
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: "."
SINGLE_COMMIT: true
PRESERVE: true