-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(ci) after_deploy generate doc/ghpages
- Loading branch information
Travis CI
committed
Dec 18, 2017
1 parent
45a6b65
commit b7305f8
Showing
2 changed files
with
13 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#/usr/local/env sh | ||
|
||
This comment has been minimized.
Sorry, something went wrong. |
||
(cd docs && go run main.go && | ||
sed -i 's|lab.md|index.md|' *.md && | ||
mv lab.md index.md) | ||
if [ -n ${DEPLOY} ]; then | ||
git config --global user.email "travis@travis-ci.org" && git config --global user.name "Travis CI" | ||
git remote add origin-lab https://${GITHUB_TOKEN}@github.com/zaquestion/lab.git > /dev/null 2>&1 | ||
git checkout docstest && git add docs && git commit -m "(docs) ${TRAVIS_TAG}" && git push origin-lab master | ||
fi |
set -x -e -o pipefail
perhaps? lets us view the commands as they run.