mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-01-31 21:51:49 +01:00
feat: optimize cache workflow with orphan branch and age check
- Create/use orphan branch 'similarity-cache-data' for cache distribution - Add age check to dockerhub-publish: only rebuild if cache >7 days old - Use git add -f to force-add cache files (keeps .gitignore clean) - Weekly scheduled builds will keep cache fresh automatically This avoids rebuilding cache on every Docker publish while ensuring cache is always reasonably fresh (<7 days old).
This commit is contained in:
parent
b26057f68d
commit
86752b351b
3 changed files with 62 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -31,8 +31,6 @@ csv_files/*
|
|||
!csv_files/testdata/
|
||||
!csv_files/testdata/**/*
|
||||
card_files/*
|
||||
!card_files/similarity_cache.parquet
|
||||
!card_files/similarity_cache_metadata.json
|
||||
|
||||
deck_files/
|
||||
dist/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue