Skip to content

Actualizar juegos

Actualizar juegos #7

Workflow file for this run

name: Actualizar juegos
on:
workflow_dispatch:
schedule:
- cron: "17 9 * * *"
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Descargar el hub y sus juegos
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Buscar nuevas versiones de los juegos
run: git submodule update --remote --merge
- name: Guardar referencias actualizadas
shell: bash
run: |
if git diff --quiet --exit-code; then
echo "Los juegos ya están al día."
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add PIRAMIDE-MOBILE-SIMPLE IMPOSTOR-MOBILE CUARTO-REY-MOBILE LA-BOTELLITA-MOBILE
git commit -m "chore: actualizar juegos"
git push