File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 context : ./
3333 file : ./Dockerfile
3434 push : true
35- tags : cornellappdev/eatery-blue :${{ steps.vars.outputs.sha_short }}
35+ tags : cornellappdev/eatery-prod :${{ steps.vars.outputs.sha_short }}
3636
3737 - name : Remote SSH and Deploy
3838 uses : appleboy/ssh-action@v1.0.3
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ COPY prisma ./prisma/
1616# Generate Prisma client
1717RUN npx prisma generate
1818
19- # Sync schema with db
20- RUN npx prisma db push
21-
2219# Copy TypeScript configuration and source code
2320COPY tsconfig.json ./
2421COPY src ./src/
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ version: '3.8'
33services :
44 app :
55 image : cornellappdev/eatery-blue-dev:${IMAGE_TAG}
6+ command : >
7+ sh -c "npx prisma db push && npm run start"
68 configs :
79 - source : firebase_service_account
810 target : /app/firebase-service-account.json
You can’t perform that action at this time.
0 commit comments