File tree 2 files changed +29
-14
lines changed
2 files changed +29
-14
lines changed Original file line number Diff line number Diff line change 1
1
name : Update with the latest colorschemes
2
2
on :
3
3
workflow_dispatch :
4
- schedule :
5
- - cron : " 0 0 * * 0" # https://crontab.guru/every-week
6
- push :
7
- branches : [ "main" ]
4
+ # schedule:
5
+ # - cron: "0 0 * * 0" # https://crontab.guru/every-week
6
+ # push:
7
+ # branches: [ "main" ]
8
8
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Fetch the repository code
14
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
15
+
16
+ - uses : ruby/setup-ruby@v1
17
+ with :
18
+ ruby-version : " 3.3"
19
+
20
+ - name : Check Vim version
21
+ run : vim --version
15
22
16
- - name : Setup Vim and Ruby
17
- run : sudo apt install -y ruby vim
18
-
19
23
- name : Build
20
- run : bash build.sh
24
+ run : |
25
+ bash build.sh
21
26
22
- - name : Deploy
23
- uses : peaceiris/actions-gh-pages@v3
27
+ - name : " Commit the changes, if any "
28
+ uses : " stefanzweifel/git-auto-commit-action@be823a7e51f116fecebc222b8307716921375992 " # 5.0.1
24
29
with :
25
- github_token : ${{ secrets.BOT_ACCESS_TOKEN }}
26
- publish_dir : ./out
30
+ commit_message : " Update with the latest tinted-theming colorschemes"
31
+ branch : ${{ inputs.ref }}
32
+ commit_user_name : " tinted-theming-bot"
33
+ commit_user_email :
" [email protected] "
34
+ commit_author :
" tinted-theming-bot <[email protected] >"
35
+
36
+
37
+ # - name: Deploy
38
+ # uses: peaceiris/actions-gh-pages@v3
39
+ # with:
40
+ # github_token: ${{ secrets.BOT_ACCESS_TOKEN }}
41
+ # publish_dir: ./out
Original file line number Diff line number Diff line change @@ -51,4 +51,4 @@ main() {
51
51
erb template.erb > out/index.html
52
52
}
53
53
54
- main
54
+ main
You can’t perform that action at this time.
0 commit comments