Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(generate-docs): fix generate-docs.sh. (#4765)
Browse files Browse the repository at this point in the history
Ignore generated unstaged files before checking out to new branch; otherwise, the git checkout will fail.
  • Loading branch information
qiyigg authored Apr 5, 2018
1 parent 2aa507f commit 6290f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ echo "Transfering files to gh-pages..."
cd ".."
git branch -D gh-pages
git pull -f https://github.com/angular/protractor.git gh-pages:gh-pages
git checkout gh-pages
git reset --hard
git checkout gh-pages
cp -r website/build/* .
git add -A
git commit -m "chore(website): automatic docs update for ${VERSION}"
Expand Down

0 comments on commit 6290f27

Please sign in to comment.