-
Notifications
You must be signed in to change notification settings - Fork 43
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
Showing
1 changed file
with
0 additions
and
9 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 |
---|---|---|
|
@@ -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 |