chore(ci): configure release automation
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline failed

This commit is contained in:
2026-08-05 01:29:07 -03:00
parent 84ecee9404
commit 934367d695
3 changed files with 66 additions and 3 deletions
+8 -3
View File
@@ -7,13 +7,18 @@ depends_on:
- ci
clone:
depth: 0
git:
image: woodpeckerci/plugin-git
settings:
depth: 0
partial: false
tags: true
steps:
release:
image: node:24-bookworm-slim
environment:
GITEA_PACKAGE_TOKEN:
NPM_TOKEN:
from_secret: gitea_package_token
GITEA_REGISTRY_USERNAME:
from_secret: gitea_registry_username
@@ -27,7 +32,7 @@ steps:
- git config user.email "woodpecker-ci@mifi.dev"
- git remote set-url origin "https://${GITEA_REGISTRY_USERNAME}:${GITEA_RELEASE_TOKEN}@git.mifi.dev/mifi/logger.git"
- npm config set @mifi:registry https://git.mifi.dev/api/packages/mifi/npm/
- npm config set -- //git.mifi.dev/api/packages/mifi/npm/:_authToken "$GITEA_PACKAGE_TOKEN"
- npm config set -- //git.mifi.dev/api/packages/mifi/npm/:_authToken "$NPM_TOKEN"
- pnpm release
notify-release-failure: