File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ name: Deploy Python App to CapRover
22
33on :
44 push :
5- branches :
6- - main # Desplegará automáticamente cada vez que se haga push a la rama 'main'
5+ branches : ["main"]
6+
7+ pull_request :
8+ branches : [ "main" ]
79
810jobs :
911 deploy :
1719 uses : caprover/github-action@v1.3.2
1820 with :
1921 # URL completa de tu servidor CapRover (ej: https://captain.miservidor.com)
20- server : http://testapp.capradich.mywire.org/
22+ # server: http://testapp.capradich.mywire.org/
2123 # El nombre de la app tal como aparece en el panel de CapRover
22- app : testapp
24+ # app: testapp
2325 # Usa el secreto que creaste en GitHub
24- token : ${{ d131f040aa97680a5043d0a0894b34fab4162c69a0ca7c230402d029586ea6e0 }}
26+ # token: ${{ d131f040aa97680a5043d0a0894b34fab4162c69a0ca7c230402d029586ea6e0 }}
27+ server : ' ${{ secrets.CAPROVER_SERVER }}'
28+ app : ' ${{ secrets.APP_NAME }}'
29+ token : ' ${{ secrets.APP_TOKEN }}'
You can’t perform that action at this time.
0 commit comments