File tree 2 files changed +33
-68
lines changed 2 files changed +33
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : fix up CSS files
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ paths :
6
+ - static/css/saturate.py
7
+ - static/css/*_orig.css
8
+ jobs :
9
+ fix-up-css :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : clone repo
13
+ uses : actions/checkout@v3
14
+ - name : set up python
15
+ uses : actions/setup-python@v3
16
+ with :
17
+ python-version : 3.10.x
18
+ - name : fix css
19
+ run : |
20
+ cd static/css/
21
+ python3 saturate.py
22
+ cd ../../
23
+ - name : commit changes # copied from ad-m/github-push-action
24
+ run : |
25
+ git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
26
+ git config --local user.name "github-actions[bot]"
27
+ git add -A
28
+ git commit -m "fixed css" -a
29
+ - name : push built files
30
+ uses : ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6
31
+ with :
32
+ github_token : ${{ secrets.GITHUB_TOKEN }}
33
+ branch : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments