testing ssh deploy setup

This commit is contained in:
Oliver Marks 2017-02-19 18:24:28 +00:00
parent bb2e071f44
commit f993311e7c
1 changed files with 14 additions and 3 deletions

View File

@ -17,15 +17,26 @@ pipeline:
- pip install --user --cache-dir ./cache/pip -r ./requirements/test.txt
- python manage.py test mhackspace --verbosity 2
publish:
publish-test:
image: appleboy/drone-ssh
host: maidstone-hackspace.org.uk
# user: root
# password: 1234
user: ${SSH_USERNAME}
key: ${SSH_KEY}
port: 22
script:
- echo 'to be added'
publish-live:
image: appleboy/drone-ssh
user: ${SSH_USERNAME}
key: ${SSH_KEY}
host: maidstone-hackspace.org.uk
port: 22
script:
- echo 'to be added'
when:
event: [ tag ]
services:
mailhog:
image: mailhog/mailhog