remove old package file, update drone config
This commit is contained in:
parent
f466e80d2a
commit
f77a1d75c7
20
.drone.yml
20
.drone.yml
|
@ -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
|
||||
|
|
10
package.json
10
package.json
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue