Agregar mejoras PWA y unificar workflow a 1 job
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 40s
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user