adding travis deploy

Summary: Adds a deploy step to travis.yml file to depoly the docs to github pages.

Reviewed By: emilsjolander

Differential Revision: D7028804

fbshipit-source-id: bb91c6b1ad2a306a6957a48679f164128c5b1be1
This commit is contained in:
Daniel Büchele
2018-02-21 09:29:47 -08:00
committed by Facebook Github Bot
parent 6d7eca8e42
commit 3408e4d4fa

View File

@@ -134,3 +134,20 @@ script:
npm run test:all &&
npm run bench
) fi
before_deploy:
- cd website
- yarn
- yarn build
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
fqdn: yogalayout.com
local-dir: public
email: yogabot@fb.com
name: Yoga-bot
keep-history: true
on:
branch: master