mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-13 01:36:23 +00:00
Add Travis test 7
This commit is contained in:
@@ -7,15 +7,15 @@ setup_git() {
|
||||
|
||||
commit_website_files() {
|
||||
git checkout -b leanpub-preview
|
||||
git pull
|
||||
git add manuscript
|
||||
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
||||
}
|
||||
|
||||
upload_files() {
|
||||
#git remote add origin-leanpub-preview https://${LEANPUB-PREVIEW-TOKEN}@github.com/funkypenguin/geek-cookbook.git > /dev/null 2>&1
|
||||
git remote add origin-leanpub-preview https://${TOKEN}@github.com/funkypenguin/geek-cookbook.git
|
||||
git push --quiet --set-upstream origin-leanpub-preview leanpub-preview
|
||||
#git remote add origin-leanpub-preview https://${TOKEN}@github.com/funkypenguin/geek-cookbook.git
|
||||
#git push --quiet --set-upstream origin-leanpub-preview leanpub-preview
|
||||
git push --quiet --set-upstream origin leanpub-preview
|
||||
}
|
||||
|
||||
setup_git
|
||||
|
||||
Reference in New Issue
Block a user