Move sftp cache settings into settings key
continuous-integration/drone/push Build was killed Details

master
Garrett Mills 4 years ago
parent c471bee62f
commit fdb98eefaa
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -5,17 +5,18 @@ steps:
# ============ RESTORE CACHE ============= # ============ RESTORE CACHE =============
- name: restore node_modules cache - name: restore node_modules cache
image: appleboy/drone-sftp-cache image: appleboy/drone-sftp-cache
server: settings:
from_secret: cache_server server:
port: 22 from_secret: cache_server
username: port: 22
from_secret: cache_server_user username:
key: from_secret: cache_server_user
from_secret: cache_server_key key:
path: /var/cache/noded-frontend-node_modules from_secret: cache_server_key
restore: true path: /var/cache/noded-frontend-node_modules
mount: restore: true
- node_modules mount:
- node_modules
# ============ BUILD STEPS =============== # ============ BUILD STEPS ===============
- name: build-prod - name: build-prod
@ -30,17 +31,18 @@ steps:
# =============== REBULD CACHE ============== # =============== REBULD CACHE ==============
- name: rebuild node_modules cache - name: rebuild node_modules cache
image: appleboy/drone-sftp-cache image: appleboy/drone-sftp-cache
server: settings:
from_secret: cache_server server:
port: 22 from_secret: cache_server
username: port: 22
from_secret: cache_server_user username:
key: from_secret: cache_server_user
from_secret: cache_server_key key:
path: /var/cache/noded-frontend-node_modules from_secret: cache_server_key
rebuild: true path: /var/cache/noded-frontend-node_modules
mount: rebuild: true
- node_modules mount:
- node_modules
# =============== RELEASE =============== # =============== RELEASE ===============
- name: release - name: release

Loading…
Cancel
Save