2016-08-10 08:27:40 -07:00
|
|
|
# Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This source code is licensed under the BSD-style license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
2016-08-02 08:07:04 -07:00
|
|
|
|
2018-02-22 07:49:55 -08:00
|
|
|
language: node_js
|
2018-02-23 02:15:11 -08:00
|
|
|
node_js:
|
|
|
|
- "8"
|
2016-08-02 08:07:04 -07:00
|
|
|
|
2018-02-22 07:49:55 -08:00
|
|
|
install:
|
|
|
|
- cd website
|
|
|
|
- yarn
|
|
|
|
- cd ..
|
2017-02-20 05:31:20 -08:00
|
|
|
|
2017-02-13 06:49:38 -08:00
|
|
|
script:
|
2018-02-22 07:49:55 -08:00
|
|
|
- cd website
|
|
|
|
- yarn build
|
|
|
|
- cd ..
|
2018-02-21 09:29:47 -08:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip-cleanup: true
|
|
|
|
github-token: $GITHUB_TOKEN
|
|
|
|
fqdn: yogalayout.com
|
2018-02-22 07:49:55 -08:00
|
|
|
local-dir: website/public
|
2018-02-21 09:29:47 -08:00
|
|
|
email: yogabot@fb.com
|
|
|
|
name: Yoga-bot
|
|
|
|
keep-history: true
|
|
|
|
on:
|
|
|
|
branch: master
|