Skip to content

Commit

Permalink
Fixed Makefile deployment preparation of config directory
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Mar 15, 2018
1 parent 935c577 commit c902156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -18,7 +18,7 @@ deploy: ## Deploys binary on a Google Cloud instance
prepare-deploy: ## Prepares bot to be deployed on a new instance
@echo '>>> Uploads config/ to server home directory'

scp config/ ${ELEVENBOT_SSH_USER}@${ELEVENBOT_SSH_IP}:~
scp -r config/ ${ELEVENBOT_SSH_USER}@${ELEVENBOT_SSH_IP}:~
ssh ${ELEVENBOT_SSH_USER}@${ELEVENBOT_SSH_IP} 'sudo mv config/elevenbot.service /etc/systemd/system/elevenbot.service'
ssh ${ELEVENBOT_SSH_USER}@${ELEVENBOT_SSH_IP} 'sudo systemctl daemon-reload'

Expand Down

0 comments on commit c902156

Please sign in to comment.