Skip to content

Commit de9fc8f

Browse files
authored
chore: Added repo arg to the gh-pages call (#402)
* Added repo arg to the gh-pages call * Changed deploy script definition to just run gh-pages so the repo argument could be passed in
1 parent 6653a88 commit de9fc8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ci-scripts/publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ npm run release:create -- --repo $TRAVIS_REPO_SLUG --tag $release_tag --branch m
1919

2020
npm publish
2121

22-
npm run deploy
22+
npm run build-doc
23+
npm run deploy -- --repo "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"build:index": "babel-node devtools/buildIndexFiles.js",
2121
"config:lint": "eslint 'config/**' --ext .js,.jsx --env browser,node",
2222
"config:lint:fix": "eslint --fix 'config/**' --ext .js,.jsx --env browser,node",
23-
"deploy": "npm run build-doc && gh-pages -d build",
23+
"deploy": "gh-pages -d build",
2424
"devtools:lint": "eslint 'devtools/**' --ext .js,.jsx --env browser,node",
2525
"lint:fix": "npm run build:lint:fix && npm run scripts:lint:fix",
2626
"lint:pre-commit": "printf \"running pre-commit lint...\" && npm run lint && printf \"done!\n\"",

0 commit comments

Comments
 (0)