parent
d9453899ef
commit
85efa0461d
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
eval "$(ssh-agent -s)"
|
||||
echo "$DEPLOY_PRIVATE_KEY" > deploy_key
|
||||
chmod 600 deploy_key
|
||||
ssh-add deploy_key
|
||||
ssh -l root szekeres.me \
|
||||
"sudo -u www-data -H sh -c ' \
|
||||
cd /var/www/nginxconfig.io; \
|
||||
git pull origin master'"
|
@ -0,0 +1,5 @@
|
||||
deploy:
|
||||
provider: script
|
||||
script: .travis-deploy.sh
|
||||
on:
|
||||
- master
|
Loading…
Reference in new issue