Add CircleCI configuration

This commit is contained in:
Joel Marcey 2017-08-16 14:24:30 -07:00
parent 6e57456a4a
commit 0046c3ee49

18
circle.yml Normal file
View file

@ -0,0 +1,18 @@
machine:
node:
version: 6.11.2
npm:
version: 3.10.10
test:
override:
- "true"
deployment:
website:
branch: master
commands:
- git config --global user.email "facebook-github-bot@users.noreply.github.com"
- git config --global user.name "Facebook GitHub Bot"
- echo "machine github.com login facebook-github-bot password $GITHUB_AUTH_TOKEN" > ~/.netrc
- npm install && GIT_USER=facebook-github-bot npm run publish-gh-pages