File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: 🧪 Document
3
3
on :
4
4
push :
5
5
branches :
6
+ - main
6
7
- feat/ssg
7
8
pull_request :
8
9
branches :
@@ -18,11 +19,11 @@ jobs:
18
19
concurrency :
19
20
group : ${{ github.workflow }}-${{ github.ref }}
20
21
steps :
21
- - uses : hecrj/setup-rust-action@v2
22
+ - uses : hecrj/setup-rust-action@v2.0.1
22
23
with :
23
24
rust-version : nightly
24
25
25
- - uses : actions/checkout@v4
26
+ - uses : actions/checkout@v4.2.2
26
27
27
28
- name : Update libssl
28
29
run : |
@@ -37,24 +38,23 @@ jobs:
37
38
echo '<html><head><meta http-equiv="refresh" content="0; url=/ssg/"></head><body></body></html>' > ./target/doc/index.html
38
39
39
40
- name : Deploy
40
- uses : actions/upload-artifact@v4
41
+ uses : actions/upload-artifact@v4.5.0
41
42
with :
42
43
name : documentation
43
44
path : target/doc
44
45
if-no-files-found : error
45
46
retention-days : 1
46
47
47
48
- name : Write CNAME file
48
- run : echo 'docs .shokunin.one' > ./target/doc/CNAME
49
+ run : echo 'doc .shokunin.one' > ./target/doc/CNAME
49
50
50
51
- name : Deploy to GitHub Pages
51
- uses : peaceiris/actions-gh-pages@v4
52
+ uses : peaceiris/actions-gh-pages@v4.0.0
52
53
with :
53
54
github_token : ${{ secrets.GITHUB_TOKEN }}
54
55
publish_dir : ./target/doc
55
56
publish_branch : gh-pages
56
57
cname : true
57
- clean : true
58
58
commit_message : Deploy documentation at ${{ github.sha }}
59
- commit_user_name : github-actions
60
- commit_user_email : actions@users.noreply.github.com
59
+ user_name : github-actions
60
+ user_email : actions@users.noreply.github.com
You can’t perform that action at this time.
0 commit comments