Merge pull request #20 from ConducereIT/dev #10
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: 18 | |
- uses: Genez-io/genezio-github-action@main | |
with: | |
token: ${{ secrets.GENEZIO_TOKEN }} | |
- name: Build frontend | |
working-directory: ./client | |
run: npm install && npm run build | |
env: | |
CI: false | |
- name: Deploy frontend | |
working-directory: ./ | |
run: genezio deploy | |
env: | |
CI: false |