Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try using s3 cache #3812

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use drone s3 cache
  • Loading branch information
anbraten committed Jun 22, 2024
commit 6f358a07f0dcd381f08c36dbf86ee308f25791c2
10 changes: 6 additions & 4 deletions .woodpecker/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ steps:
- event: [manual, tag]

- name: upload cache
image: anbraten/s3cache
image: plugins/s3-cache
pull: true
settings:
mode: upload
paths:
mode: rebuild
mount:
- docs/node_modules
- docs/.docusaurus
- docs/build
Expand All @@ -188,5 +188,7 @@ steps:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
restore: true
filename: cache-${CI_REPO}.tar
when:
- event: pull_request
- event: push