Deploys run as gitea-runner, the instance's one runner on Max since 1 November 2026
Build / Build (push) Successful in 30s

build-runner was merged into it: the same labels (build stays), the same sudo verbs and
folders, the .NET 9 SDK and the library clone cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
thepraandClaude Opus 5.5 committed 2026-11-01 17:15:22 +01:00
1 parent 125414df2c
commit e2b5fe10a9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ ASPNETCORE_ENVIRONMENT=Production ./PrivaPub admin delete-root <root> # as the
ASPNETCORE_ENVIRONMENT=Production ./PrivaPub admin reset-totp <root> # a login that lost its authenticator and codes ASPNETCORE_ENVIRONMENT=Production ./PrivaPub admin reset-totp <root> # a login that lost its authenticator and codes
``` ```
The deploy runs them as `build-runner`, which owns the published files, reads `appsettings.Production.json` through The deploy runs them as `gitea-runner` (the instance's one runner on Max since 1 November 2026; `build-runner` before), which owns the published files, reads `appsettings.Production.json` through
group www-data and reaches the private mongod; `sudo -u www-data` works too. Every one of them that changes a login or a group www-data and reaches the private mongod; `sudo -u www-data` works too. Every one of them that changes a login or a
persona (promote, demote, role, create-root, move-persona, delete-root, reset-totp) and `restore` is kept in the staff's persona (promote, demote, role, create-root, move-persona, delete-root, reset-totp) and `restore` is kept in the staff's
log as the command line's (`cli`). The command line may leave the server without an administrator (it says so); the log as the command line's (`cli`). The command line may leave the server without an administrator (it says so); the
+1 -1
View File
@@ -6,7 +6,7 @@ set -euo pipefail
SRC="${1:-/root/privapub-deploy}" SRC="${1:-/root/privapub-deploy}"
HOST=privapub.thepra.dev HOST=privapub.thepra.dev
UNIT=privapub UNIT=privapub
RUNNER=build-runner RUNNER=gitea-runner
ACME=/root/.acme.sh/acme.sh ACME=/root/.acme.sh/acme.sh
echo "== directories" echo "== directories"