-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 881 Bytes
/
build.yml
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
name: build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
name: Build the article PDF
concurrency: showyourwork-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install TinyTex for matplotlib LaTeX rendering
id: tinytex
shell: bash -l {0}
run: |
wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh
sudo ~/bin/tlmgr install type1cm cm-super underscore physics
sudo apt-get update
sudo apt-get install dvipng
- name: Build the article PDF
id: build
uses: showyourwork/showyourwork-action@v1
env:
SANDBOX_TOKEN: ${{ secrets.SANDBOX_TOKEN }}
OVERLEAF_EMAIL: ${{ secrets.OVERLEAF_EMAIL }}
OVERLEAF_PASSWORD: ${{ secrets.OVERLEAF_PASSWORD }}