pull/3/head
Szekeres Bálint 7 years ago
parent d9453899ef
commit 85efa0461d

@ -9,3 +9,6 @@ end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.yml]
indent_style = space
indent_size = 2

@ -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…
Cancel
Save