Fix author names and month format in publications.bib #3
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: Convert BibTeX to JSON | |
| on: | |
| push: | |
| paths: | |
| - '_data/publications.bib' # Se activa solo si cambias el .bib | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: pip install bibtexparser | |
| - name: Run converter | |
| run: python bib_to_json.py | |
| - name: Commit and push if changed | |
| run: | | |
| git config --global user.name 'BibBot' | |
| git config --global user.email 'bot@github.com' | |
| git add _data/publications.json | |
| git commit -m "Update publications data from bibtex" || exit 0 | |
| git push |