silverwind 25dce1df62 Add pre-defined variables reference to Actions docs (#369)
Add comprehensive reference tables for pre-defined variables available in Gitea Actions workflows, derived from the Gitea and act_runner source code.

## Context variables (`${{ gitea.<name> }}`)

All context variables with their `github.*` aliases and descriptions, sourced from `services/actions/context.go`.

## Environment variables

- **Standard**: `CI`, `GITEA_ACTIONS`, `GITEA_ACTIONS_RUNNER_VERSION`, `GITHUB_*`, and the 5 `GITEA_*` aliases for workflow file commands (`GITEA_ENV`, `GITEA_OUTPUT`, `GITEA_PATH`, `GITEA_STATE`, `GITEA_STEP_SUMMARY`)
- **Runner**: `RUNNER_OS`, `RUNNER_ARCH`, `RUNNER_TEMP`, `RUNNER_TOOL_CACHE`
- **Internal**: `ACTIONS_CACHE_URL`, `ACTIONS_RUNTIME_*`, etc.

Closes https://gitea.com/gitea/docs/issues/350

Reviewed-on: https://gitea.com/gitea/docs/pulls/369
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
2026-03-28 09:27:06 +00:00
2026-02-03 03:29:59 +00:00
2026-03-16 17:06:04 -07:00
2023-07-28 05:52:35 +00:00
2026-03-16 17:06:04 -07:00
2026-02-03 03:29:59 +00:00
2026-02-03 03:29:59 +00:00
2023-10-03 17:13:46 +00:00
2026-03-16 17:06:04 -07:00

Gitea Docs badge

How to build

make clean
make prepare-docs
make build

Development

make clean
make prepare-docs
make serve

Test en version

pnpm run start
Description
No description provided
Readme Apache-2.0 12 MiB
Languages
MDX 55.9%
JavaScript 26.7%
CSS 13.8%
Shell 2.4%
Makefile 1.2%