This repository was archived by the owner on Dec 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +591
-518
lines changed Expand file tree Collapse file tree 3 files changed +591
-518
lines changed Original file line number Diff line number Diff line change
1
+ workflow "Deploy" {
2
+ on = " push"
3
+ resolves = [
4
+ " Release" ,
5
+ " Pages" ,
6
+ ]
7
+ }
8
+
9
+ action "Master" {
10
+ uses = " actions/bin/filter@master"
11
+ args = " branch master"
12
+ }
13
+
14
+ action "Pages" {
15
+ needs = " Master"
16
+ uses = " satya164/node-app-tasks@master"
17
+ secrets = [" GITHUB_TOKEN" ]
18
+ args = " gh-pages"
19
+ }
20
+
21
+ action "Release" {
22
+ needs = " Pages"
23
+ uses = " satya164/node-app-tasks@master"
24
+ secrets = [" NPM_AUTH_TOKEN" , " GITHUB_TOKEN" ]
25
+ args = " release-it --non-interactive"
26
+ }
Original file line number Diff line number Diff line change 14
14
"prebuild" : " del lib/" ,
15
15
"prepare" : " yarn build" ,
16
16
"example" : " parcel example/index.html" ,
17
- "gh-pages" : " git branch -D gh-pages; git checkout -b gh-pages && rm -rf dist/ && parcel build example/App.js && git add -f dist/ && git commit -m 'Publish website' && git push -fu origin gh-pages; git checkout master " ,
17
+ "gh-pages" : " git branch -D gh-pages; git checkout -b gh-pages && rm -rf dist/ && parcel build example/App.js && git add -f dist/ && git commit -nm 'Publish website' && git push -fu origin gh-pages; git checkout @{-1} " ,
18
18
"release" : " release-it"
19
19
},
20
20
"husky" : {
44
44
"babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
45
45
"babel-preset-env" : " ^1.7.0" ,
46
46
"babel-preset-react" : " ^6.24.1" ,
47
- "conventional-changelog-cli" : " ^2.0.11 " ,
47
+ "conventional-changelog-cli" : " ^2.0.12 " ,
48
48
"dedent" : " ^0.7.0" ,
49
49
"del-cli" : " ^1.1.0" ,
50
50
"eslint" : " ^5.8.0" ,
57
57
"prismjs" : " ^1.15.0" ,
58
58
"react" : " ^16.6.0" ,
59
59
"react-dom" : " ^16.6.0" ,
60
- "release-it" : " ^7.6.2 "
60
+ "release-it" : " ^10.3.1 "
61
61
},
62
62
"peerDependencies" : {
63
63
"react" : " ^16.0.0" ,
You can’t perform that action at this time.
0 commit comments