File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed
Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 11name : genezio workflow
2-
32on :
43 push :
54 branches :
87jobs :
98 deploy-backend :
109 runs-on : ubuntu-latest
11-
1210 steps :
1311 - uses : actions/checkout@v4
14-
15- # ✅ Use Node 18 (compatible with Genezio)
1612 - uses : actions/setup-node@v4
13+ - uses : Genez-io/genezio-github-action@v2
1714 with :
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
15+ token : ${{ secrets.GENEZIO_TOKEN }}
16+ - name : install pg
2917 working-directory : ./server
3018 run : npm install pg
31-
32- # ✅ Deploy using your token from GitHub Secrets
3319 - name : Deploy backend
3420 working-directory : ./server
3521 run : genezio deploy
3622 env :
37- GENEZIO_TOKEN : ${{ secrets.GENEZIO_TOKEN }}
38- CI : false
23+ CI : false
You can’t perform that action at this time.
0 commit comments