Skip to content

Update main.yml

Update main.yml #40

Workflow file for this run

name: genezio workflow
on:
push:
branches:
- main
jobs:
deploy-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: Genez-io/genezio-github-action@v2
with:
token: ${{ secrets.GENEZIO_TOKEN }}
- name: install pg
working-directory: ./server
run: npm install pg
- name: prisma
working-directory: ./server
run : npx prisma generate
- name: Deploy
working-directory: ./
run: genezio deploy
env:
CI: false