Primer commit5 #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Python App to CapRover | ||
|
Check failure on line 1 in .github/workflows/deploy.yml
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main # Desplegará automáticamente cada vez que se haga push a la rama 'main' | ||
| jobs: | ||
| deploy: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Deploy to CapRover | ||
| uses: caprover/github-action@v1.3.2 | ||
| with: | ||
| # URL completa de tu servidor CapRover (ej: https://captain.miservidor.com) | ||
| server: http://testapp.capradich.mywire.org/ | ||
| # El nombre de la app tal como aparece en el panel de CapRover | ||
| app: testapp | ||
| # Usa el secreto que creaste en GitHub | ||
| token: ${{ d131f040aa97680a5043d0a0894b34fab4162c69a0ca7c230402d029586ea6e0 }} | ||