From 878ba206a1da6a663da53c2e905c843f249374e2 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Thu, 19 Nov 2026 00:50:46 +0100 Subject: [PATCH] CI: non-secret values (OAuth client id, allowed users, P4N user) may be Actions variables too, falling back to secrets --- .gitea/workflows/ci.yml | 9 ++++++--- docs/deployment.adoc | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1276ad6..873e183 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -101,15 +101,18 @@ jobs: # — hence OAUTH_CLIENT_* rather than GITEA_OAUTH_CLIENT_*; the .env # var names on the right of `=` are unaffected, still what app.rb # actually reads. + # Non-secret values (ids, user names, URLs) may be Actions *Variables* + # instead of Secrets: `vars.X || secrets.X` reads either, so moving one + # over needs no change here. Real secrets stay secrets-only. - name: Write .env run: | cat > /srv/podman/maptool/.env <