Update Woodpecker CI configuration to use environment variables instead of secrets

This commit is contained in:
2025-04-07 05:52:02 +01:00
parent bbdc06b4c1
commit 635fac6223

View File

@ -18,15 +18,13 @@ steps:
release:
image: plugins/gitea-release
secrets: [ gitea_token ]
settings:
api_key:
environment:
PLUGIN_API_KEY:
from_secret: gitea_token
base_url: https://gitea.wpallstars.com
files:
- plugin-reference-cleaner-*.zip
title: "Release ${CI_COMMIT_TAG}"
note: "Plugin Reference Cleaner ${CI_COMMIT_TAG}\n\nSee [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/plugin-reference-cleaner/src/branch/main/CHANGELOG.md) for details."
PLUGIN_BASE_URL: https://gitea.wpallstars.com
PLUGIN_FILES: plugin-reference-cleaner-*.zip
PLUGIN_TITLE: "Release ${CI_COMMIT_TAG}"
PLUGIN_NOTE: "Plugin Reference Cleaner ${CI_COMMIT_TAG}\n\nSee [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/plugin-reference-cleaner/src/branch/main/CHANGELOG.md) for details."
when:
event: tag