From 0046c3ee49b0afd775e30b8508c18a653df2e3c7 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Wed, 16 Aug 2017 14:24:30 -0700 Subject: [PATCH] Add CircleCI configuration --- circle.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000000..778aead218 --- /dev/null +++ b/circle.yml @@ -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