Skip to content

Commit

Permalink
Fix CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr committed Nov 5, 2021
1 parent 2d3053e commit 63b87bd
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,19 @@ jobs:
steps:
- checkout
- run: |
# if [ "$(git diff --numstat HEAD^ -- vuepress)" ]; then
cd vuepress
npm install
npm run docs:build
cd ..
rm -rf docs
cp -r vuepress/docs/.vuepress/dist docs
git add docs
git config user.name "Pierre Ricadat"
git config user.email "[email protected]"
git commit -m "[ci skip] update docs"
git push
# fi
if [ "$(git diff --numstat HEAD^ -- vuepress)" ]; then
cd vuepress
npm install
npm run docs:build
cd ..
rm -rf docs
cp -r vuepress/docs/.vuepress/dist docs
git add docs
git config user.name "Pierre Ricadat"
git config user.email "[email protected]"
git commit -m "[ci skip] update docs"
git push
fi
workflows:
version: 2
Expand Down

0 comments on commit 63b87bd

Please sign in to comment.