File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,23 @@ jobs:
11
11
concurrency :
12
12
group : ${{ github.workflow }}-${{ github.ref }}
13
13
steps :
14
- - uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
14
+ - name : Generate GitHub App token
15
+ uses : electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1
16
+ id : generate-token
17
+ with :
18
+ creds : ${{ secrets.GH_APP_CREDS }}
19
+ export-git-user : true
20
+
21
+ - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
15
22
with :
16
23
submodules : true
17
24
fetch-depth : 0
25
+ token : ${{ steps.generate-token.outputs.token }}
18
26
19
27
- name : Use Node.js LTS
20
- uses : actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v.3.5 .1
28
+ uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8 .1
21
29
with :
22
- node-version : 16 .x
30
+ node-version : 20 .x
23
31
cache : yarn
24
32
25
33
- name : Build
29
37
yarn docs
30
38
31
39
- name : Deploy
32
- uses : peaceiris/actions-gh-pages@v3
40
+ uses : peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
33
41
with :
34
- github_token : ${{ secrets.GITHUB_TOKEN }}
42
+ github_token : ${{ steps.generate-token.outputs.token }}
35
43
publish_dir : ./docs
36
44
cname : js.electronforge.io
45
+ user_name : ${{ env.GIT_COMMITTER_NAME }}
46
+ user_email : ${{ env.GIT_COMMITTER_EMAIL }}
You can’t perform that action at this time.
0 commit comments