Skip to content

Commit 220183b

Browse files
committed
ci: fix prod-deploy.yml
1 parent 9a7d298 commit 220183b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/prod-deploy.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ jobs:
350350
deploy-app:
351351
name: Deploy @codeimage/app
352352
environment: Production
353-
needs: [ "install", "lint", "typecheck-packages","build-packages", "deploy-api" ]
353+
needs: [ install, lint, typecheck-packages, build-packages, deploy-api ]
354354
runs-on: ubuntu-latest
355355
steps:
356356
- uses: actions/checkout@v2
@@ -362,6 +362,9 @@ jobs:
362362
with:
363363
node-version: ${{ matrix.node-version }}
364364
cache: 'pnpm'
365+
- name: Install dependencies
366+
run: |
367+
pnpm --prefer-offline install
365368
366369
- name: Restore packages
367370
uses: actions/cache@v3
@@ -382,14 +385,14 @@ jobs:
382385
run: |
383386
pnpm --filter=@codeimage/app build
384387
385-
- uses: amondnet/vercel-action@v19
386-
name: Build vercel output (Next)
388+
- uses: amondnet/vercel-action@v25.1.0
389+
name: Deploy
387390
with:
388391
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
389392
github-token: ${{ secrets.GITHUB_TOKEN }} #Optional
390393
vercel-args: '--prebuilt' #Optional
391394
working-directory: apps/codeimage
392395
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} #Required
393-
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}} #Required
396+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} #Required
394397
alias-domains: | #Optional
395398
next.codeimage.dev

0 commit comments

Comments
 (0)