Host Services Pull Request #143
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: Auto-generate README index | |
| # Un simple sistema de mostrar de forma automatica, directorios raiz en los README | |
| # Agregado por aumentar eficiencia de busqueda al estar en la plataforma github | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| update-readme: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repositorio | |
| uses: actions/checkout@v4 | |
| - name: Montaje de python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Indexación de Readmes | |
| run: python .github/scripts/generate_readme_index.py | |
| - name: Commit cambios | |
| run: | | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| git add . | |
| git commit -m "docs: Indexación" || echo "Sin cambios por aplicar" | |
| git push |