Merge pull request #632 from pypeclub/circleci-project-setup

Add .circleci/config.yml
This commit is contained in:
Milan Kolar 2020-10-12 22:45:27 +02:00 committed by GitHub
commit 2c4206940c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.circleci/config.yml Normal file
View file

@ -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