Skip to content

Commit

Permalink
finalizing deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
borgaar committed Jan 9, 2025
1 parent 54a6211 commit 7caa755
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy
on:
push:
branches:
- devops(dockerfile)/dev
- main
pull_request:
branches:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ db:
.PHONY: prod
prod:
docker build -t blitzed:latest .
- docker container stop blitzed
- docker container rm blitzed
prisma migrate deploy
docker container stop blitzed
docker container rm blitzed
- prisma migrate deploy
docker run --env-file .env -p 4000:3000 --name blitzed -d blitzed:latest
2 changes: 1 addition & 1 deletion src/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const env = createEnv({
: z.string().optional(),
NEXTAUTH_URL: z.string(),
//
// We are no longer deploying to Vercel, the cash cow. Drift is Vercel v2.0 ;)
// We are no longer deploying to Vercel, the cash cow. Drift is Vercel v2.0
//
// NEXTAUTH_URL: z.preprocess(
// // This makes Vercel deployments not fail if you don't set NEXTAUTH_URL
Expand Down

0 comments on commit 7caa755

Please sign in to comment.