Skip to content

Commit e8d4497

Browse files
committed
fix github workflow for sqlite db cache key
1 parent e979471 commit e8d4497

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ jobs:
111111
uses: actions/cache@v3
112112
with:
113113
path: prisma/data.db
114-
key: db-cache
114+
key:
115+
db-cache-schema_${{ hashFiles('./prisma/schema.prisma')
116+
}}-migrations_${{ hashFiles('./prisma/migrations/*/migration.sql')
117+
}}
115118

116119
- name: 🏗 Build
117120
run: npm run build

0 commit comments

Comments
 (0)