File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,17 @@ You can also run the above script in your CI setup to enable automatic deploymen
66
66
67
67
2 . Create a file named ` .travis.yml ` in the root of your project.
68
68
69
- 3 . Use GitHub Pages deploy provider template and follow the [ travis documentation] ( https://docs.travis-ci.com/user/deployment/pages/ ) .
69
+ 3 . Run ` npm install ` locally and commit ` package-lock.json ` as it’s required for ` npm ci ` .
70
+
71
+ 4 . Use GitHub Pages deploy provider template and follow the [ travis documentation] ( https://docs.travis-ci.com/user/deployment/pages/ ) .
70
72
71
73
``` yaml
72
74
language : node_js
73
75
node_js :
74
76
- lts/*
77
+ install :
78
+ - npm ci
75
79
script :
76
- - npm install
77
80
- npm run docs:build
78
81
deploy :
79
82
provider : pages
You can’t perform that action at this time.
0 commit comments