From c80aeefcf932486333fc239010d5a9e2c72f5067 Mon Sep 17 00:00:00 2001 From: liuji Date: Sat, 10 Oct 2026 14:48:53 +0800 Subject: [PATCH] Add deployment configuration templates --- .gitea/deployment-secrets.example.env | 10 ++++++++++ .gitea/deployment-vars.example.env | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100755 .gitea/deployment-secrets.example.env create mode 100755 .gitea/deployment-vars.example.env diff --git a/.gitea/deployment-secrets.example.env b/.gitea/deployment-secrets.example.env new file mode 100755 index 0000000..ccd8447 --- /dev/null +++ b/.gitea/deployment-secrets.example.env @@ -0,0 +1,10 @@ +# Gitea repository Secrets template. +# Create the two repository Secrets with these exact names under +# Repository Settings -> Actions -> Secrets, then enter values only in Gitea. +# This committed template intentionally contains no secret values. + +# Git credential/token used by the publisher for the ttshop repository. +GIT_CREDENTIAL_SECRET= + +# HTTPS endpoint receiving exactly one notification for a failed run. +SYNC_FAILURE_WEBHOOK_URL= diff --git a/.gitea/deployment-vars.example.env b/.gitea/deployment-vars.example.env new file mode 100755 index 0000000..584ea31 --- /dev/null +++ b/.gitea/deployment-vars.example.env @@ -0,0 +1,9 @@ +# Gitea repository Variables template (non-sensitive values only). +# Create these under Repository Settings -> Actions -> Variables. +# Do not place credentials or a webhook URL in this file. + +# Public HTTPS origin of the Gitea instance, without repository path/query/fragment. +GITEA_BASE_URL=https://gitea.example.invalid + +# One URL path segment identifying the repository owner or organization. +GITEA_OWNER=replace-with-gitea-owner