From d112694483490e5388bb814066d3b10683442ffe Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Mon, 5 May 2025 16:28:30 +0000 Subject: [PATCH] More detail on variable setting process --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d7802e..573a1d7 100644 --- a/README.md +++ b/README.md @@ -62,10 +62,12 @@ We will use Gitea (git.medlab.host) as the external repository and GitLab for CI - Enable push mirroring 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 - From your GitLab repo go to: `Settings > CI/CD > Variables` - - Add these variables: - - `SURFER_TOKEN`: Your Surfer access token + - Add a variable: + - `SURFER_TOKEN` (key): Your Surfer access token (value) - Mark as "Masked and hidden" + - Uncheck "Protect variable" - In the `.gitlab-ci.yml` file, set the following variable: - `SURFER_SERVER`: Your Surfer server URL - Example: "https://www.example.com/"