File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ jobs:
131131 restore-keys : |
132132 site-cache-mocks-${{ env.SITE_CACHE_VERSION }}-${{ runner.os }}-node${{ env.NODE_VERSION }}-
133133
134+ - name : 🛠 Setup Database (migrations)
135+ if : steps.site-cache.outputs.cache-hit != 'true'
136+ run : npx prisma migrate deploy
137+
134138 - name : 😅 Generate Site Cache
135139 if : steps.site-cache.outputs.cache-hit != 'true'
136140 run : npm run prime-cache:mocks
Original file line number Diff line number Diff line change 6464 restore-keys : |
6565 site-cache-mocks-${{ env.SITE_CACHE_VERSION }}-${{ runner.os }}-node${{ env.NODE_VERSION }}-
6666
67+ - name : 🛠 Setup Database (migrations)
68+ if : steps.site-cache.outputs.cache-hit != 'true'
69+ run : npx prisma migrate deploy
70+
6771 - name : 🏗 Build (production)
6872 if : steps.site-cache.outputs.cache-hit != 'true'
6973 run : npm run build
You can’t perform that action at this time.
0 commit comments