mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #632 from pypeclub/circleci-project-setup
Add .circleci/config.yml
This commit is contained in:
commit
2c4206940c
1 changed files with 24 additions and 0 deletions
24
.circleci/config.yml
Normal file
24
.circleci/config.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue