Skip to content

Commit

Permalink
chore(scripts): improve update-gh-pages resilience
Browse files Browse the repository at this point in the history
  • Loading branch information
staltz committed Jan 10, 2019
1 parent 8ab0154 commit 75ca7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"preversion": "npm run readme && npm test",
"version": "npm run readme && npm run dist && git add -A",
"postversion": "git push origin master && git push origin --tags && npm publish && npm run update-gh-pages",
"update-gh-pages": "git checkout gh-pages && rm _includes/content.md && cp .ignore/content.md _includes/ && git add --all && if git diff --cached --quiet > /dev/null; then :; else git commit -m \"update site\"; fi && git push origin gh-pages && git checkout master",
"update-gh-pages": "git checkout gh-pages && rm _includes/content.md && cp .ignore/content.md _includes/ && git add --all && if git diff --cached --quiet > /dev/null; then :; else git commit -m \"update site\"; fi && git push --force origin gh-pages && git checkout master",
"release": "./tools/release-if-necessary.sh",
"release-patch": "false",
"release-minor": "npm version minor -m \"chore(package): release new version\"",
Expand Down

0 comments on commit 75ca7de

Please sign in to comment.