File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,20 @@ jobs:
10
10
name : Release
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@master
13
+ - uses : actions/checkout@v3
14
+ with :
15
+ persist-credentials : false
14
16
- uses : actions/setup-node@v3
15
17
with :
16
18
node-version-file : ' .nvmrc'
17
19
- run : npm ci
18
20
- run : npm run build --if-present
19
21
- run : npx semantic-release
22
+ env :
23
+ GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
24
+ - name : Deploy with gh-pages
25
+ run : |
26
+ git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
27
+ npx gh-pages -d build -u "github-actions-bot <support+actions@github.com>"
20
28
env :
21
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 27
27
"bugs" : {
28
28
"url" : " https://github.com/abolkog/js-playground/issues"
29
29
},
30
- "homepage" : " https://github.com/abolkog /js-playground" ,
30
+ "homepage" : " https://abolkog. github.io /js-playground" ,
31
31
"browserslist" : {
32
32
"production" : [
33
33
" >0.2%" ,
You can’t perform that action at this time.
0 commit comments