Travis CI
parent
d9453899ef
commit
85efa0461d
|
@ -9,3 +9,6 @@ end_of_line = lf
|
|||
insert_final_newline = 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…
Reference in New Issue