Rebuild and flush cache even on failure
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
32
.drone.yml
32
.drone.yml
@@ -54,6 +54,9 @@ steps:
|
|||||||
- node_modules
|
- node_modules
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
- name: Flush cache
|
- name: Flush cache
|
||||||
image: plugins/s3-cache:1
|
image: plugins/s3-cache:1
|
||||||
@@ -65,7 +68,11 @@ steps:
|
|||||||
secret_key:
|
secret_key:
|
||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
flush: true
|
flush: true
|
||||||
flush_age: 14
|
flush_age: 14
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@@ -131,6 +138,9 @@ steps:
|
|||||||
- node_modules
|
- node_modules
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
- name: Flush cache
|
- name: Flush cache
|
||||||
image: plugins/s3-cache:1
|
image: plugins/s3-cache:1
|
||||||
@@ -142,7 +152,11 @@ steps:
|
|||||||
secret_key:
|
secret_key:
|
||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
flush: true
|
flush: true
|
||||||
flush_age: 14
|
flush_age: 14
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
exclude:
|
exclude:
|
||||||
@@ -212,6 +226,9 @@ steps:
|
|||||||
- node_modules
|
- node_modules
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
- name: Flush cache
|
- name: Flush cache
|
||||||
image: plugins/s3-cache:1
|
image: plugins/s3-cache:1
|
||||||
@@ -224,6 +241,10 @@ steps:
|
|||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
flush: true
|
flush: true
|
||||||
flush_age: 14
|
flush_age: 14
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
@@ -293,6 +314,9 @@ steps:
|
|||||||
- node_modules
|
- node_modules
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
- name: Flush cache
|
- name: Flush cache
|
||||||
image: plugins/s3-cache:1
|
image: plugins/s3-cache:1
|
||||||
@@ -305,6 +329,10 @@ steps:
|
|||||||
from_secret: aws_secret_access_key
|
from_secret: aws_secret_access_key
|
||||||
flush: true
|
flush: true
|
||||||
flush_age: 14
|
flush_age: 14
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
exclude:
|
exclude:
|
||||||
|
|||||||
Reference in New Issue
Block a user