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