Skip to content

Commit 17d125b

Browse files
committed
Primer commit23
1 parent d1ad7af commit 17d125b

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: Deploy Python App to CapRover
22

33
on:
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

810
jobs:
911
deploy:
@@ -17,8 +19,11 @@ jobs:
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 }}'

0 commit comments

Comments
 (0)