Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
docs(github): automatically deploy to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiocro committed Sep 20, 2018
1 parent c905360 commit 27991ac
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Expand Up @@ -3,6 +3,18 @@ node_js:
- "8"
cache: yarn
after_success:
- ./deploy-docs.sh
- npm run semantic-release
- npm run coveralls
- npm run semantic-release
- npm run coveralls
- npm run docs:build
deploy:
provider: pages
skip-cleanup: true
local_dir: docs/.vuepress/dist
github-token: $GH_TOKEN
repo: panter/vue-i18next
keep-history: true
target-branch: master
on:
branch: docs/gitbook
notifications:
email: false
Empty file modified deploy-docs.sh 100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
@@ -1,6 +1,7 @@
const pkg = require('../../package.json');

module.exports = {
base:'/vue-i18next/',
title: pkg.name,
description: pkg.description,

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -92,7 +92,7 @@
"sinon": "^2.1.0",
"sinon-chai": "^2.8.0",
"typescript": "^2.8.3",
"vue": "^2.4.0",
"vue": "^2.5.16",
"vue-class-component": "^6.2.0",
"vue-loader": "^10.0.0",
"vue-template-compiler": "^2.1.0",
Expand Down
4 changes: 0 additions & 4 deletions yarn.lock
Expand Up @@ -10100,10 +10100,6 @@ vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"

vue@^2.4.0:
version "2.5.16"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"

vue@^2.5.16:
version "2.5.17"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.17.tgz#0f8789ad718be68ca1872629832ed533589c6ada"
Expand Down

0 comments on commit 27991ac

Please sign in to comment.