File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 11name : genezio workflow
2+
23on :
34 push :
45 branches :
78jobs :
89 deploy-backend :
910 runs-on : ubuntu-latest
11+
1012 steps :
1113 - uses : actions/checkout@v4
14+
15+ # ✅ Use Node 18 (compatible with Genezio)
1216 - uses : actions/setup-node@v4
13- - uses : Genez-io/genezio-github-action@v2
1417 with :
15- token : ${{ secrets.GENEZIO_TOKEN }}
16- - name : install pg
18+ node-version : ' 18'
19+
20+ # ✅ Install Genezio manually (stable version)
21+ - name : Install Genezio CLI
22+ run : npm install -g genezio@2.1.8
23+
24+ - name : Check Genezio version
25+ run : genezio --version
26+
27+ # ✅ Install backend dependencies
28+ - name : Install pg
1729 working-directory : ./server
1830 run : npm install pg
31+
32+ # ✅ Deploy using your token from GitHub Secrets
1933 - name : Deploy backend
2034 working-directory : ./server
2135 run : genezio deploy
2236 env :
23- CI : false
37+ GENEZIO_TOKEN : ${{ secrets.GENEZIO_TOKEN }}
38+ CI : false
You can’t perform that action at this time.
0 commit comments