1
0
mirror of https://github.com/bitwarden/help synced 2025-12-06 00:03:30 +00:00

gh-pages from sh script

This commit is contained in:
Kyle Spearrin
2019-03-22 10:10:15 -04:00
parent 6594726855
commit 24ec1c87bb
2 changed files with 5 additions and 3 deletions

View File

@@ -18,4 +18,7 @@ before_build:
build_script:
- npm install
- npm run deploy:ci
- npm run build
- sh: |
./node_modules/.bin/gh-pages --dotfiles --dist _site --silent \
--repo https://${GH_TOKEN}@github.com/bitwarden/help.git

View File

@@ -4,8 +4,7 @@
"scripts": {
"build": "gulp build && jekyll build",
"build:watch": "gulp build && jekyll serve --watch --host=0.0.0.0",
"deploy": "npm run build && gh-pages --dotfiles --dist _site",
"deploy:ci": "npm run build && gh-pages --dotfiles --dist _site --silent --repo https://${GH_TOKEN}@github.com/bitwarden/help.git"
"deploy": "npm run build && gh-pages --dotfiles --dist _site"
},
"devDependencies": {
"bootstrap-sass": "3.3.7",