File tree 2 files changed +16
-15
lines changed
generators/app/templates/my-awesome-site
2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 35
35
mkdir app
36
36
yo jekyll-starter-kit
37
37
38
- publish-npm :
39
- needs : build
40
- runs-on : ubuntu-latest
41
- steps :
42
- - uses : actions/checkout@v2
43
- - uses : actions/setup-node@v1
44
- with :
45
- node-version : 12
46
- registry-url : https://registry.npmjs.org/
47
- - run : npm ci
48
- - run : npm publish
49
- env :
50
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
51
-
52
38
publish-release :
53
39
needs : build
54
40
runs-on : ubuntu-latest
60
46
env :
61
47
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62
48
with :
49
+ node-module : true
63
50
release-branches : ' ["main"]'
51
+
52
+ publish-npm :
53
+ needs : publish-release
54
+ runs-on : ubuntu-latest
55
+ steps :
56
+ - uses : actions/checkout@v2
57
+ - uses : actions/setup-node@v1
58
+ with :
59
+ node-version : 12
60
+ registry-url : https://registry.npmjs.org/
61
+ - run : npm ci
62
+ - run : npm publish
63
+ env :
64
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const $ = gulpLoadPlugins();
10
10
11
11
// Delete the _site directory.
12
12
gulp.task('cleanup-build', () => {
13
- return gulp.src('_site', {read: false})
13
+ return gulp.src('_site', {read: false, allowEmpty: true })
14
14
.pipe($.clean());
15
15
});
16
16
You can’t perform that action at this time.
0 commit comments