Skip to content

Merge branch 'master' of https://github.com/KIT-ISAS/ISAS-Publications #53

Merge branch 'master' of https://github.com/KIT-ISAS/ISAS-Publications

Merge branch 'master' of https://github.com/KIT-ISAS/ISAS-Publications #53

Workflow file for this run

name: Generate and Update publications.table and publ_counter.html
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the current repository
- name: Checkout repository
uses: actions/checkout@v4
# Concatenate the .bib files
- name: Concatenate .bib files
run: cat ISASPublikationen.bib ISASPublikationen_laufend.bib ISASPreprints.bib > ISASFused.bib
# Clone the bibtexToTable repository
- name: Checkout bibtexToTable repository
run: git clone https://github.com/KIT-ISAS/bibtexToTable.git
# Install Python package dependencies
- name: Install Python packages
run: pip install bibtexparser
# Run the code from bibtexToTable
- name: Run bibtexToTable
run: python bibtexToTable/bibtex_to_table.py ISASFused.bib publications.table --verify-name "Uwe D. Hanebeck"
- name: Get script for updating table with counts
run: wget https://isas.iar.kit.edu/table/generate_publication_counts_table.py
- name: Generate table with counts
run: python generate_publication_counts_table.py ISASFused.bib 1>publ_counter.html
- name: Remove script to prevent it from being checked in
run: rm generate_publication_counts_table.py
# Commit and push using git-auto-commit-action
- name: Commit and push publications.table
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.ref }}
commit_message: "Update publications.table and publ_counter.html"
commit_user_name: publication-bot
commit_user_email: [email protected]