Skip to content

Commit

Permalink
add docusaurus to the CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Jan 14, 2018
1 parent f9361af commit 4f2173b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@ matrix:
script:
- ./scripts/demo-projects.ios.sh

# Website
- language: node_js
env:
- NAME='Website - master'
node_js: 8
script:
- git config --global user.email "$GIT_USER@users.noreply.github.com"
- git config --global user.name "Daniel Schmidt"
- echo "machine github.com login $GIT_USER password $GIT_TOKEN" > ~/.netrc
- cd website && npm install && GIT_USER=$GIT_USER CURRENT_BRANCH=docusaurus npm run publish-gh-pages

branches:
only:
- master
Expand Down
2 changes: 1 addition & 1 deletion website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const users = [
const siteConfig = {
title: 'Detox' /* title for your website */,
tagline: 'Gray Box E2E Tests and Automation Library for Mobile Apps',
url: 'https://wix.github.io/detox' /* your website url */,
url: 'https://wix.github.io' /* your website url */,
baseUrl: '/detox/' /* base url for your project */,
projectName: 'detox',
headerLinks: [
Expand Down

0 comments on commit 4f2173b

Please sign in to comment.