Skip to content

Commit

Permalink
gh-pages from sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Mar 22, 2019
1 parent 6594726 commit 24ec1c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 24ec1c8

Please sign in to comment.