-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 824 Bytes
/
plot.yml
File metadata and controls
37 lines (29 loc) · 824 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
name: Generate Steffim Plots
on: [workflow_dispatch, workflow_call]
permissions:
contents: write
jobs:
plot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: master
- uses: actions/setup-python@v6
with:
python-version: '3.10'
architecture: 'x64'
cache: 'pip'
- run: |
python3 -m pip install -r requirements.txt
- name: Generate steffim plots
run: |
python3 main.py plot
- name: Commit svgs to the repo
run: |
git config --global user.name "schicho/steffim"
git config --global user.email "steffim[bot]@schicho.github.io"
git add .
# Force the build to succeed, even if no files were changed
git commit -m 'Update plots' || true
git push