mirror of
https://github.com/bitwarden/help
synced 2025-12-06 00:03:30 +00:00
deploy:ci script
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user