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