diff --git a/README.md b/README.md index 573a1d7..cbe27f7 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,7 @@ This is the base theme for MedLab Hugo projects. This theme provides a starting ## GitLab CI/CD -This project includes automated CI/CD pipelines that handle building and deploying your Hugo site. The pipeline automatically builds your site when changes are pushed and deploys it to a Surfer instance. - -Normally the site will deploy within an hour. To force deployment, in Gitea, go to the repository's settings and press the "synchronize now" button (two arrows in a circle) under Mirror Settings. +This project includes automated CI/CD pipelines that handle building and deploying your Hugo site. The pipeline automatically builds your site when changes are pushed to the `publish` branch and deploys it to a Surfer instance. ### Pipeline Overview - **Build Stage**: Compiles Hugo site with optimizations @@ -59,7 +57,8 @@ We will use Gitea (git.medlab.host) as the external repository and GitLab for CI 2. **Configure Gitea Repository Mirroring** - From your Gitea repo go to: `Settings > Repository > Mirror Settings` - Add your GitLab repository URL - - Enable push mirroring + - Add GitLab user credentials under Authorization + - Check "Sync when commits are pushed" and disable Mirror Interval 3. **Set Required Variables on GitLab** - Get an access token from the Surfer server by going to `/_admin` and getting the "Access Tokens" dialog from the three-dot menu