This commit is contained in:
parent
e0ccab42e2
commit
d36852f826
38
.drone.yml
38
.drone.yml
@ -4,16 +4,15 @@ name: buildsite
|
|||||||
steps:
|
steps:
|
||||||
- name: restore_cache
|
- name: restore_cache
|
||||||
image: appleboy/drone-sftp-cache
|
image: appleboy/drone-sftp-cache
|
||||||
settings:
|
server: 192.168.10.5
|
||||||
host: 192.168.10.5
|
username: thomas
|
||||||
username: thomas
|
password:
|
||||||
password:
|
from_secret: ssh_password
|
||||||
from_secret: ssh_password
|
port: 22
|
||||||
port: 22
|
path: /var/cache/drone
|
||||||
path: /var/cache/drone
|
restore: true
|
||||||
restore: true
|
mount:
|
||||||
mount:
|
- node_modules
|
||||||
- node_modules
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node
|
image: node
|
||||||
@ -23,16 +22,15 @@ steps:
|
|||||||
|
|
||||||
- name: rebuild_cache
|
- name: rebuild_cache
|
||||||
image: appleboy/drone-sftp-cache
|
image: appleboy/drone-sftp-cache
|
||||||
settings:
|
server: 192.168.10.5
|
||||||
host: 192.168.10.5
|
username: thomas
|
||||||
username: thomas
|
password:
|
||||||
password:
|
from_secret: ssh_password
|
||||||
from_secret: ssh_password
|
port: 22
|
||||||
port: 22
|
path: /var/cache/drone
|
||||||
path: /var/cache/drone
|
rebuild: true
|
||||||
rebuild: true
|
mount:
|
||||||
mount:
|
- node_modules
|
||||||
- node_modules
|
|
||||||
|
|
||||||
- name: copy
|
- name: copy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
Loading…
Reference in New Issue
Block a user