mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
24 lines
660 B
YAML
24 lines
660 B
YAML
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
|