-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (36 loc) · 1.04 KB
/
manual.yaml
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
40
41
42
43
name: Only Vis
on:
workflow_dispatch:
env:
WEBHOOK: ${{ secrets.WEBHOOK }}
jobs:
workflow:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Install Dependency
run: |
pip install pandas xlrd seaborn matplotlib
sudo cp prop/DoHyeon-Regular.ttf /usr/share/fonts/
sudo fc-cache -f -v
rm ~/.cache/matplotlib -fr
- name: Run Script
run: |
rm prop/*/*.png
rm prop/ALL/time
rm prop/*/*.md
python src/vis.py
- name: Commit and Push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m ":bento: Update: GitHub Actions" || echo "No changes to commit"
git push