From 3408e4d4fa5fef7631d253a955c31c29a101fe83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Wed, 21 Feb 2018 09:29:47 -0800 Subject: [PATCH] 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 --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3dc8d39c..53029187 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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