Skip to content

Commit

Permalink
Cleanup deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
gossi committed Jan 1, 2016
1 parent f2af6e9 commit 7421efb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,12 @@ git init
git config user.name "gossi"
git config user.email "[email protected]"

echo "Git version:"
git version

echo "Add upstream:"
git remote add upstream "https://$GH_TOKEN@github.com/gossi/php-code-generator.git"
echo "Fetch upstream:"
git fetch upstream
echo "Reset to gh-pages:"
git reset upstream/gh-pages

touch .

echo "Add everything new:"
git add -A .
echo "Commit:"
git commit -m "rebuild API at ${rev}"
echo "Push:"
git push upstream HEAD:gh-pages

0 comments on commit 7421efb

Please sign in to comment.