Still caching.
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed

This commit is contained in:
aminecmi 2022-08-06 15:46:18 +02:00
parent 89808e8f6a
commit e0f48c99bd

View File

@ -25,6 +25,7 @@ steps:
restore: true
mount:
- ./node_modules
cache_key: [ DRONE_REPO_OWNER, DRONE_REPO_NAME, DRONE_BRANCH ]
- name: build
image: node:14
@ -45,6 +46,7 @@ steps:
rebuild: true
mount:
- ./node_modules
cache_key: [ DRONE_REPO_OWNER, DRONE_REPO_NAME, DRONE_BRANCH ]
trigger:
event:
@ -70,6 +72,7 @@ steps:
restore: true
mount:
- ./node_modules
cache_key: [ DRONE_REPO_OWNER, DRONE_REPO_NAME, DRONE_BRANCH ]
- name: build
image: node:14
@ -80,16 +83,6 @@ steps:
VUE_APP_API_BASE_URL:
from_secret: baseurl
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- name: scp files
image: appleboy/drone-scp
settings:
@ -100,7 +93,6 @@ steps:
port: 22
target: /home/ubuntu/courses
source: dist/*
trigger:
event:
- promote