Merge pull request #105 from ConducereIT/fix-header #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |