Skip to content

Commit 7db5a78

Browse files
authored
Merge pull request #14 from Node-Study-Guide/removing-local-deploy
Removing local deploy
2 parents 3df8b69 + efc1c9e commit 7db5a78

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cache:
55
directories:
66
- node_modules
77
script:
8-
- npm run preDeploy
8+
- npm run build
99
deploy:
1010
provider: pages
1111
skip_cleanup: true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "OpenJS Node application developer study guide",
55
"scripts": {
66
"start": "npx eleventy --serve",
7-
"preDeploy": "npx eleventy",
8-
"deploy": "npm run preDeploy; timestamp=$(date \"+%s\") && gh-pages -d _site -m \"Deployed at $timestamp\""
7+
"build": "npx eleventy"
98
},
109
"repository": {
1110
"type": "git",

0 commit comments

Comments
 (0)