Skip to content

Update README.md

Update README.md #8

Workflow file for this run

name: deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.14.0
- name: Cache npm binaries
id: cache-node-binaries
uses: actions/cache@v4
with:
path: /opt/hostedtoolcache/node/
key: ${{ runner.os }}-node-binaries
restore-keys: |
${{ runner.os }}-node-binaries
- uses: Genez-io/genezio-github-action@v2
if: steps.cache-node-binaries.outputs.cache-hit != 'true'
- name: Check genezio version - this step is optional
run: genezio --version
- name: Login with genezio - this step is required because we don't cache the genezio auth file
run: genezio login ${{ secrets.GENEZIO_TOKEN }}
- name: Deploy backend
run: genezio deploy --backend