Skip to content

Commit a796ab9

Browse files
committed
ci: fix prod-deploy.yml
1 parent ee25ae3 commit a796ab9

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/prod-deploy.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,11 @@ jobs:
170170
run: |
171171
pnpm --prefer-offline install
172172
173-
- name: Restore dist
174-
uses: actions/cache@v3
175-
with:
176-
path: |
177-
packages
178-
key: packages-${{ github.run_id }}-${{ github.run_number }}
179-
180173
- name: "Run prisma DB migrations"
181174
run: |
182-
pnpm --filter=@codeimage/api exec prisma migrate deploy
183-
pnpm --filter=@codeimage/api exec prisma generate
175+
cd apps/api
176+
pnpm exec prisma migrate deploy
177+
pnpm exec prisma generate
184178
pnpm --filter=@codeimage/prisma-models build
185179
186180
- name: Test

0 commit comments

Comments
 (0)