2025-06-04 10:44:40 +02:00
|
|
|
name: RSE-PSI Website Scheduler
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
pull_request:
|
|
|
|
|
schedule:
|
|
|
|
|
- cron: "0 1 * * *"
|
|
|
|
|
|
|
|
|
|
jobs:
|
2026-03-26 11:08:23 +01:00
|
|
|
build-and-deploy:
|
|
|
|
|
runs-on: ubuntu-latest-intranet
|
2025-06-04 10:44:40 +02:00
|
|
|
steps:
|
2026-07-09 14:39:33 +02:00
|
|
|
- uses: actions/checkout@v6
|
|
|
|
|
|
2025-06-04 10:44:40 +02:00
|
|
|
- name: Configure Git
|
|
|
|
|
run: |
|
|
|
|
|
git config --global user.name "Gitea Actions"
|
|
|
|
|
git config --global user.email "actions@gitea.local"
|
|
|
|
|
|
2026-07-09 14:39:33 +02:00
|
|
|
- uses: actions/setup-python@v6
|
|
|
|
|
with:
|
|
|
|
|
python-version: "3.x"
|
|
|
|
|
|
|
|
|
|
- name: Install mkdocs-material
|
2025-06-04 10:44:40 +02:00
|
|
|
run: |
|
2026-07-09 14:39:33 +02:00
|
|
|
apt-get update
|
|
|
|
|
apt-get install -y pngquant
|
|
|
|
|
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
- name: Deploy documentation
|
|
|
|
|
run: mkdocs gh-deploy --force -b gitea-pages
|