Compare commits

..

1 Commits

Author SHA1 Message Date
Oliver Marks 732beec17a Turn of cache dir to save memory.
continuous-integration/drone/push Build is failing Details
2019-05-04 17:39:12 +01:00
1 changed files with 14 additions and 18 deletions

View File

@ -34,15 +34,10 @@ steps:
- name: publish-stage - name: publish-stage
pull: True pull: True
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings:
host: stage.maidstone-hackspace.org.uk host: stage.maidstone-hackspace.org.uk
username: user: root
from_secret: ssh_user secrets: [ ssh_key ]
key:
from_secret: ssh_key
port: 22 port: 22
duration: 4m
command_timeout: 480 command_timeout: 480
script: script:
- cd /var/www/maidstone-hackspace-website - cd /var/www/maidstone-hackspace-website
@ -52,7 +47,8 @@ steps:
- docker-compose -fstage.yml run --rm django python manage.py collectstatic - docker-compose -fstage.yml run --rm django python manage.py collectstatic
- docker-compose -fstage.yml down --remove-orphans - docker-compose -fstage.yml down --remove-orphans
- docker-compose -fstage.yml up -d - docker-compose -fstage.yml up -d
- echo 'Finished deploy'
- name: publish-live - name: publish-live
pull: True pull: True