Skip to content

Commit

Permalink
feat: gitlab ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Sep 5, 2024
1 parent 9284dda commit 11aee1b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ test:
- pnpm build
- pnpm test:dev

deploy-db:
only:
- main
stage: deploy
variables:
DATABASE_URL: $MAINNET_DATABASE_URL
script:
- cd packages/db
- pnpm prisma:migrate

deploy-api:
only:
- main
Expand Down

0 comments on commit 11aee1b

Please sign in to comment.