39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# =============================================================================
|
|
# YeetGeese - Gitea API Configuration Template
|
|
# =============================================================================
|
|
#
|
|
# Instructions:
|
|
# 1. Copy this file to .env.gitea in the project root:
|
|
# cp .env.gitea.template .env.gitea
|
|
#
|
|
# 2. Edit .env.gitea with your actual values (especially GITEA_TOKEN)
|
|
#
|
|
# 3. Load it before using CLI commands:
|
|
# source .env.gitea # or export $(cat .env.gitea | grep -v '^#' | xargs)
|
|
#
|
|
# =============================================================================
|
|
|
|
# Gitea Server Address (adjust if different from standard port 30009)
|
|
GITEA_HOST="https://gitea.letteka.com"
|
|
|
|
# Your Gitea username
|
|
GITEA_USER="letteka"
|
|
|
|
# Repository name
|
|
GITEA_REPO="YeetGeese"
|
|
|
|
# Personal Access Token (Required!)
|
|
# To create a token:
|
|
# 1. Go to https://gitea.letteka.com/user/applications
|
|
# 2. Click "New Application" or "Create Token"
|
|
# 3. Give it a name like "YeetGeese PR Creator"
|
|
# 4. Select scopes: admin, user, repo
|
|
# 5. Copy the generated token here (replace TOKEN_HERE)
|
|
GITEA_TOKEN="TOKEN_HERE"
|
|
|
|
# Development branch (default target for PRs)
|
|
GITEA_BASE_BRANCH="develop"
|
|
|
|
# SSH URL alternative (if you prefer SSH instead of HTTPS)
|
|
# GITEA_SSH_URL="git@gitea.letteka.com:30009/letteka/YeetGeese.git"
|