File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ after_success:
18
18
- docker login -u ${DHUB_USERNAME} -p ${DHUB_PASS}
19
19
- echo "${SSH_KEY}" | base64 --decode > /tmp/ssh_rsa
20
20
- 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}"
You can’t perform that action at this time.
0 commit comments