From 81c0d5e00b5b8710bdd65ff50406f21dd5e380dc Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Tue, 11 May 2021 21:19:18 +0200 Subject: [PATCH] [#45] Changed root style --- .woodpecker.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 45a12f3..2feb095 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,7 +7,7 @@ pipeline: endpoint: https://s3.roosens.me access_key: ${S3_USER} secret_key: ${S3_PASSWORD} - root: /build-cache + root: build-cache/ restore: true secrets: [ s3_user, s3_password ] @@ -60,14 +60,13 @@ pipeline: endpoint: https://s3.roosens.me access_key: ${S3_USER} secret_key: ${S3_PASSWORD} - root: build-cache + root: build-cache/ rebuild: true - path_style: true mount: - target - web/node_modules - secrets: [ s3_endpoint, s3_user, s3_password ] + secrets: [ s3_user, s3_password ] # Push the cache, even on failure when: status: [ success, failure ] @@ -75,16 +74,15 @@ pipeline: flush-cache: image: plugins/s3-cache - endpoint: ${S3_ENDPOINT} + endpoint: https://s3.roosens.me access_key: ${S3_USER} secret_key: ${S3_PASSWORD} - root: build-cache + root: build-cache/ flush: true - path_style: true # Delete cache older than 30 days (might lower this) flush_age: 30 - secrets: [ s3_endpoint, s3_user, s3_password ] + secrets: [ s3_user, s3_password ] # Push the cache, even on failure when: status: [ success, failure ]