Files

32 lines
684 B
YAML

name: RSE-PSI Website Scheduler
on:
workflow_dispatch:
pull_request:
schedule:
- cron: "0 1 * * *"
jobs:
build-and-deploy:
runs-on: ubuntu-latest-intranet
steps:
- uses: actions/checkout@v6
- name: Configure Git
run: |
git config --global user.name "Gitea Actions"
git config --global user.email "actions@gitea.local"
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install mkdocs-material
run: |
apt-get update
apt-get install -y pngquant
pip install -r requirements.txt
- name: Deploy documentation
run: mkdocs gh-deploy --force -b gitea-pages