- Shell 83.2%
- Dockerfile 16.8%
| docker/usr/local/sbin | ||
| testdata | ||
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
Background Radiation
Background Radiation, or BakRad, or br is a bespoke build system for static sites. I use it to automate deployment of the various static sites I run with Caddy.
Usage
Run the container, ensuring you have mounted a config file to /etc/bakrad/config. The config file is a plaintext, newline delimited list of HTTPS links to Git repositories containing your site.
BakRad functions using Git tags, it will only update a site when it detects a change in tag since the last run (tags are cached at /var/bakrad/tags).
If the script detects a ts/ or scss/ directory is present within the Git repository, it will compile files using the respective compiler.
Ensure the root folder for your production sites is mounted at /srv/www/, which is where BakRad will place updated sites.