File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : " Theme Update"
2-
3- on :
4- schedule :
5- - cron : " 0 0 * * *"
6-
7- jobs :
8- update-theme :
9- runs-on : ubuntu-latest
10- steps :
11- - uses : actions/checkout@v6
12- with :
13- ref : main
14-
15- # Setup mise
16- - uses : jdx/mise-action@v3
17-
18- - name : Install dependencies
19- run : |
20- mise run install # install theme dependency
21-
22- - name : Update theme to latest commit
23- run : |
24- mise run update-to-main
25-
26- - name : Build
27- run : |
28- # build the site
29- hugo --minify
30- # remove file generated by the build
31- rm -rf public/
32-
33- - name : Create Pull Request
34- uses : peter-evans/create-pull-request@v8
35- with :
36- base : main
37- title : Update theme
38- labels : automerge
1+ # This workflow was part of the upstream toha-example-site repo.
2+ # It uses mise and is for theme maintainers only.
3+ # Disabled — not applicable to this repo.
You can’t perform that action at this time.
0 commit comments