mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-02 23:33:47 -08:00
20 lines
488 B
Bash
Executable file
20 lines
488 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Push output back to GitHub
|
|
|
|
|
|
cd output || exit 1
|
|
|
|
git config --global user.email "travis@travis-ci.org" || exit 1
|
|
|
|
git config --global user.name "Travis CI" || exit 1
|
|
|
|
git add -A . || exit 1
|
|
|
|
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER of $TRAVIS_BRANCH ($(date +'%F %T %Z'))" || exit 1
|
|
|
|
git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/jermolene.github.io.git" &>/dev/null || exit 1
|
|
|
|
git push deploy master &>/dev/null || exit 1
|
|
|
|
cd .. || exit 1
|