blog/docker/docker-init.sh
Yax 791f803123
Some checks are pending
docker / build (push) Waiting to run
Git clone from zaclys
2025-03-30 12:08:54 +02:00

19 lines
No EOL
295 B
Bash

#!/bin/bash
python -V
# clone and build blog
cd /
rm -rf /blog
git clone https://gitea.zaclys.com/yannic/blog.git
cd /blog
uv python pin 3.12.9
uv sync
uv run python ./makesite.py
# nginx serve
#nginx -g 'daemon off;'
nginx
# exit on change in stacosys or Git repo
uv run python monitor.py