Agregar mejoras PWA y unificar workflow a 1 job
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 40s

- Agregar id único (/?app=musica), launch_handler, handle_links y url_handlers
- Unificar workflow de 2 jobs (build + deploy) a 1 solo job
- Workaround para bug de Gitea que solo ejecuta el primer job
This commit is contained in:
2025-10-17 03:26:28 -06:00
parent 41f944f811
commit 25aace816f
2 changed files with 12 additions and 13 deletions

View File

@@ -5,8 +5,8 @@ on:
branches: [ main ]
jobs:
#───────────────── build & push ─────────────────
build:
#───────────────── build, push & deploy (unified) ─────────────────
build-and-deploy:
runs-on: docker
env:
REG: gitea.nucleoriofrio.com/nucleo000
@@ -25,17 +25,6 @@ jobs:
docker push $REG/repodructor:${{ github.sha }}
docker push $REG/repodructor:latest
#───────────────── deploy ─────────────────
deploy:
needs: build
runs-on: docker
env:
REG: gitea.nucleoriofrio.com/nucleo000
steps:
- uses: actions/checkout@v3
- name: Login to registry
run: docker login gitea.nucleoriofrio.com -u nucleo000 -p 7bc7b2fcd283bd6a251bef3ede368b7f897c919d
- name: Info about music directory
run: |
echo " Music directory expected at: /srv/repodructor/musica"