-
Notifications
You must be signed in to change notification settings - Fork 50
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
4 changed files
with
12 additions
and
5 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 |
---|---|---|
|
@@ -35,3 +35,4 @@ dvm-helper/dvm-helper | |
|
||
# Aliases | ||
alias | ||
*.pem |
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
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 |
---|---|---|
|
@@ -2,10 +2,14 @@ | |
set -euo pipefail | ||
|
||
rm -fr _deploy/ &> /dev/null | ||
git clone --branch gh-pages --depth 1 https://github.com/howtowhale/dvm.git _deploy | ||
cp -R bin/dvm/$(VERSION) _deploy/downloads/ | ||
cp -R bin/dvm/$(PERMALINK) _deploy/downloads/ | ||
git clone --branch gh-pages --depth 1 [email protected]:howtowhale/dvm.git _deploy | ||
|
||
cp -R bin/dvm/$VERSION _deploy/downloads/ | ||
cp -R bin/dvm/$PERMALINK _deploy/downloads/ | ||
cd _deploy/ | ||
git add downloads/ | ||
git commit --author "Travis CI <[email protected]>" -m "Publish $VERSION from Travis Build #$TRAVIS_BUILD_NUMBER" | ||
#PKEY=.travis.deploy.pem git push | ||
|
||
git config user.name "Travis CI" | ||
git config user.email "[email protected]" | ||
git commit -m "Publish $VERSION from Travis Build #${TRAVIS_BUILD_NUMBER:-1}" | ||
git push |
Binary file not shown.