Skip to content

Monthly update of publications on webpage #7

Monthly update of publications on webpage

Monthly update of publications on webpage #7

name: Monthly update of publications on webpage
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # Executes at 00:00 on the 1st of every month
jobs:
run_python_and_render_qmd:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8' # Use the version of Python you need
- name: Install dependencies
run: pip install -r publications/requirements.txt # Replace with your actual requirements
- name: Run Python script
run: python publications/publication_feed_parse.py
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Render QMD file
run: quarto render publications.qmd --to html --output-dir docs