1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00

Tweaked Travis

This commit is contained in:
David Young
2018-06-07 12:55:23 +12:00
parent 1fb0a952bd
commit 6297c6e41c
3 changed files with 9 additions and 6 deletions

View File

@@ -19,11 +19,13 @@ upload_files() {
git push --quiet --set-upstream origin-leanpub-preview leanpub-preview
}
trigger_preview() {
curl -d "api_key=${LEANPUB-API-KEY}" https://leanpub.com/geek-cookbook/preview.json
}
# Not needed at this stage, since github integration still works. It's noted as being deprecated however,
# so might need this in future
#trigger_preview() {
# curl -d "api_key=${LEANPUB-API-KEY}" https://leanpub.com/geek-cookbook/preview.json
#}
setup_git
commit_website_files
upload_files
trigger_preview
#trigger_preview