remove old package file, update drone config

This commit is contained in:
Oliver Marks 2018-01-25 20:59:53 +00:00
parent f466e80d2a
commit f77a1d75c7
2 changed files with 12 additions and 18 deletions

View File

@ -22,23 +22,27 @@ pipeline:
publish-test:
pull: True
image: appleboy/drone-ssh
host: maidstone-hackspace.org.uk
user: ${SSH_USER}
key: ${SSH_KEY}
host: stage.maidstone-hackspace.org.uk
user: root
secrets:
- source: DEPLOY_SSH_KEY
target: ssh_key
port: 22
command_timeout: 480
script:
- cd /var/www/stage/maidstone-hackspace-website
- cd /var/www/maidstone-hackspace-website
- git pull
- docker-compose -fstage.yml down --remove-orphans
- docker-compose -fstage.yml build
- docker-compose -fstage.yml down --remove-orphans
- docker-compose -fstage.yml up -d
publish-live:
# pull: True
pull: True
image: appleboy/drone-ssh
user: {SSH_USER}
key: {SSH_KEY}
user: root
secrets:
- source: DEPLOY_SSH_KEY
target: ssh_key
host: maidstone-hackspace.org.uk
port: 22
command_timeout: 480

View File

@ -1,10 +0,0 @@
{
"name": "mhackspace",
"version": "0.1.0",
"dependencies": {
"bootstrap": "^4.0.0",
"jquery": "^1.9.1",
"package.json": "^2.0.1",
"popper.js": "^1.12.9"
}
}