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

deploy:ci script

This commit is contained in:
Kyle Spearrin
2019-03-22 10:41:29 -04:00
parent b5238519f7
commit 0638dc86e7
2 changed files with 3 additions and 5 deletions

View File

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

View File

@@ -4,7 +4,8 @@
"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": "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\""
},
"devDependencies": {
"bootstrap-sass": "3.3.7",