From ef648f61d0d783c40bdbc8daffae862a2474c85c Mon Sep 17 00:00:00 2001 From: Milan Kolar Date: Mon, 12 Oct 2020 22:44:08 +0200 Subject: [PATCH] Add .circleci/config.yml --- .circleci/config.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..a5452f329f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,24 @@ +version: 2.1 + +jobs: + deploy-website: + docker: + - image: circleci/node:10.16 + + steps: + - checkout + - run: + name: Deploying to GitHub Pages + command: | + git config --global user.email "mkolar@users.noreply.github.com" + git config --global user.name "Website Deployment Script" + echo "machine github.com login mkolar password $GITHUB_TOKEN" > ~/.netrc + cd website && yarn install && GIT_USER=mkolar yarn run publish-gh-pages + +workflows: + build_and_deploy: + jobs: + - deploy-website: + filters: + branches: + only: feature/move_documentation