This commit is contained in:
parent
742f4c7e7e
commit
bfe69e99ba
11
.drone.yml
11
.drone.yml
|
@ -32,7 +32,8 @@ steps:
|
||||||
|
|
||||||
- name: build-node
|
- name: build-node
|
||||||
image: node
|
image: node
|
||||||
group: build
|
depends_on:
|
||||||
|
- restore-cache-with-filesystem
|
||||||
commands:
|
commands:
|
||||||
- cd list-editor
|
- cd list-editor
|
||||||
- npm install
|
- npm install
|
||||||
|
@ -40,10 +41,11 @@ steps:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run docker
|
- npm run docker
|
||||||
|
|
||||||
|
|
||||||
- name: rebuild-cache-with-filesystem
|
- name: rebuild-cache-with-filesystem
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
pull: true
|
pull: true
|
||||||
|
depends_on:
|
||||||
|
- build-node
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
rebuild: true
|
rebuild: true
|
||||||
|
@ -58,6 +60,9 @@ steps:
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
depends_on:
|
||||||
|
- rebuild-cache-with-filesystem
|
||||||
|
- testing
|
||||||
settings:
|
settings:
|
||||||
repo: registry.stuifzandapp.com/wiki
|
repo: registry.stuifzandapp.com/wiki
|
||||||
registry: registry.stuifzandapp.com
|
registry: registry.stuifzandapp.com
|
||||||
|
@ -68,6 +73,8 @@ steps:
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
depends_on:
|
||||||
|
- publish
|
||||||
settings:
|
settings:
|
||||||
host: wiki.p83.nl
|
host: wiki.p83.nl
|
||||||
username: wiki
|
username: wiki
|
||||||
|
|
Loading…
Reference in New Issue
Block a user