Implement initial API structure with Docker support, CI/CD workflows, and authentication features
Despliegue Automático / desplegar (push) Failing after 1m29s
Despliegue Automático / desplegar (push) Failing after 1m29s
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Despliegue Automático
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
desplegar:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: 📥 Descargar el código nuevo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: 🔐 Generar archivo .env desde secrets
|
||||
run: |
|
||||
printf '%s\n' "${{ secrets.ENV_API_NOTAS }}" > .env
|
||||
|
||||
- name: 🚀 Construir y levantar Docker
|
||||
run: |
|
||||
docker compose up -d --build
|
||||
Reference in New Issue
Block a user