Merge pull request #45 from ConducereIT/dev #20
This file contains 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@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: Genez-io/genezio-github-action@main | |
with: | |
token: ${{ secrets.GENEZIO_TOKEN }} | |
- name: install pg | |
working-directory: ./server | |
run: npm install pg | |
- name: Deploy backend | |
working-directory: ./server | |
run: genezio deploy | |
env: | |
CI: false |