-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d3053e
commit 63b87bd
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|