mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
21 lines
448 B
Bash
Executable File
21 lines
448 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 --quiet --message "Travis build: $TRAVIS_BUILD_NUMBER" || exit 1
|
|
|
|
git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/Testing2019.git" &>/dev/null || exit 1
|
|
|
|
git push deploy master &>/dev/null || exit 1
|
|
|
|
cd .. || exit 1
|