mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-14 02:06:32 +00:00
Add Travis test 7
This commit is contained in:
@@ -7,15 +7,15 @@ setup_git() {
|
|||||||
|
|
||||||
commit_website_files() {
|
commit_website_files() {
|
||||||
git checkout -b leanpub-preview
|
git checkout -b leanpub-preview
|
||||||
git pull
|
|
||||||
git add manuscript
|
git add manuscript
|
||||||
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
git commit --message "Travis build: $TRAVIS_BUILD_NUMBER"
|
||||||
}
|
}
|
||||||
|
|
||||||
upload_files() {
|
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://${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 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 leanpub-preview
|
||||||
|
git push --quiet --set-upstream origin leanpub-preview
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_git
|
setup_git
|
||||||
|
|||||||
Reference in New Issue
Block a user