test stage deploy

This commit is contained in:
Oliver Marks 2017-02-25 21:44:19 +00:00
parent 5c81755134
commit c898514110
1 changed files with 5 additions and 2 deletions

View File

@ -22,10 +22,13 @@ pipeline:
image: appleboy/drone-ssh image: appleboy/drone-ssh
host: maidstone-hackspace.org.uk host: maidstone-hackspace.org.uk
user: ${SSH_USER} user: ${SSH_USER}
key: "${SSH_KEY}" key: ${SSH_KEY}
port: 22 port: 22
script: script:
- echo 'to be added' - cd /var/www/stage/maidstone-hackspace-website
- git pull
- docker-compose down
- docker-compose up -d
publish-live: publish-live:
# pull: True # pull: True