Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 79b0d7d

Browse filesBrowse files
author
bradmorg
committed
changed after_success logic
1 parent c2792f1 commit 79b0d7d
Copy full SHA for 79b0d7d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ after_success:
1818
- docker login -u ${DHUB_USERNAME} -p ${DHUB_PASS}
1919
- echo "${SSH_KEY}" | base64 --decode > /tmp/ssh_rsa
2020
- chmod 600 /tmp/ssh_rsa
21-
- ssh -o "StrictHostKeyChecking no" pi@${IPADDR} -i /tmp/ssh_rsa "cd ${INSTALL_LOCATION} && git pull ${TRAVIS_BUILD_WEB_URL} && docker image build -t ${IMGNAME} . && docker push ${IMGNAME} && docker stop discordbot; docker rm discordbot; docker run --name discordbot -d -e TOKEN=${TOKEN} ${IMGNAME}"
21+
- ssh -o "StrictHostKeyChecking no" pi@${IPADDR} -i /tmp/ssh_rsa "cd ${INSTALL_LOCATION} && git pull ${TRAVIS_BUILD_WEB_URL} && docker image build -t ${IMGNAME} ${INSTALL_LOCATION}/. && docker push ${IMGNAME} && docker stop discordbot; docker rm discordbot; docker run --name discordbot -d -e TOKEN=${TOKEN} ${IMGNAME}"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.