Compare commits

..

3 Commits

Author SHA1 Message Date
f8cabf71b6 Update Woodpecker CI configuration to use environment variables instead of secrets
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 05:52:02 +01:00
bbdc06b4c1 Fix command formatting in Woodpecker CI configuration
Some checks failed
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 05:51:18 +01:00
3bf5e3d4ab Fix Woodpecker CI configuration format
Some checks failed
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 05:50:19 +01:00

View File

@ -1,4 +1,4 @@
pipeline: steps:
build: build:
image: alpine:latest image: alpine:latest
commands: commands:
@ -13,27 +13,18 @@ pipeline:
- cd build - cd build
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner - zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
- cd .. - cd ..
- echo "Build completed: plugin-reference-cleaner-$VERSION.zip" - echo "Build completed - plugin-reference-cleaner-$VERSION.zip"
- ls -la *.zip - ls -la *.zip
release: release:
image: plugins/gitea-release image: plugins/gitea-release
secrets: [ gitea_token ] environment:
settings: PLUGIN_API_KEY:
api_key:
from_secret: gitea_token from_secret: gitea_token
base_url: https://gitea.wpallstars.com PLUGIN_BASE_URL: https://gitea.wpallstars.com
files: PLUGIN_FILES: plugin-reference-cleaner-*.zip
- plugin-reference-cleaner-*.zip PLUGIN_TITLE: "Release ${CI_COMMIT_TAG}"
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."
note: |
Plugin Reference Cleaner ${CI_COMMIT_TAG}
See [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/plugin-reference-cleaner/src/branch/main/CHANGELOG.md) for details.
when:
event: tag
tag: v*
when: when:
event: tag event: tag
tag: v*