Lightweight CI/CD with GitHub Actions and a Self-Hosted Runner
Build and deploy on your own server with a self-hosted runner: setup, a sample workflow and the security warnings that really matter.
Author
DevOps and back-end developer, into automation, CI/CD and command-line tools. If he has to do something twice, he writes a script for it.
Build and deploy on your own server with a self-hosted runner: setup, a sample workflow and the security warnings that really matter.
With git you get history, rollbacks and one-command deploys: a complete guide to a bare repository and a deploy hook on your server.
Three cheap layers of real monitoring: docker ps and stats, log rotation with json-file and max-size, and cAdvisor for live graphs.
Turn your programs and scripts into systemd services that come back after reboots and crashes, log cleanly, and replace cron with timers.
Use two FROM lines to keep build tools out of the final image, plus .dockerignore and layer ordering for better caching.
The structure of a Compose file, the everyday commands, healthchecks with depends_on conditions, and keeping secrets in a .env file.
Enter Search · Esc Close · / open from any page