mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 20:27:20 +02:00
Add CircleCI configuration
This commit is contained in:
parent
6e57456a4a
commit
0046c3ee49
1 changed files with 18 additions and 0 deletions
18
circle.yml
Normal file
18
circle.yml
Normal 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
|
Loading…
Add table
Reference in a new issue