rghf webpages

Tutorial

Add a build-and-deploy pipeline

The pipeline should prove the artifact is valid, ship an immutable image tag, and check the live route before it reports success.

Flow
Example workflow snippet
docker build -t ghcr.io/your-org/site:${GITHUB_SHA} webpages
docker push ghcr.io/your-org/site:${GITHUB_SHA}
ssh "${DEPLOY_USER}@${DEPLOY_HOST}" \
  "k3s kubectl -n k8s-oci rollout status deployment/webpages --timeout=120s"
curl -fsS https://rghf.nl