Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Add workflows for circleci config
Browse files Browse the repository at this point in the history
Summary:
Using template found here: https://docusaurus.io/docs/en/publishing.html#using-circle-ci-20
Closes #12

Reviewed By: BurntBrunch

Differential Revision: D7307416

Pulled By: JoelMarcey

fbshipit-source-id: 05280d849c13acb6b152b002f1382078fbccdd05
  • Loading branch information
JoelMarcey authored and facebook-github-bot committed Mar 16, 2018
1 parent 47812dd commit 24787ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
aliases:
- &filter-only-master
branches:
only:
- master

version: 2
jobs:
deploy-website:
Expand Down Expand Up @@ -41,3 +47,9 @@ jobs:
echo "Deploying website..."
cd website && GIT_USER=docusaurus-bot USE_SSH=false yarn run publish-gh-pages
workflows:
version: 2
build_and_deploy:
jobs:
- deploy-website
filters: *filter-only-master

0 comments on commit 24787ed

Please sign in to comment.