From be9ce01ebf367fdd540c2c4314ead8f4b68f8b39 Mon Sep 17 00:00:00 2001 From: xavierk Date: Thu, 3 Sep 2026 19:23:44 +0530 Subject: [PATCH] ci: use Gitea-compatible package token name --- .gitea/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3f8e03e..b4c1bb0 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -104,11 +104,11 @@ jobs: - name: Upload deb packages to registry env: - GITEA_PUBLISH_TOKEN: ${{ secrets.GITEA_PACKAGE_TOKEN }} + GITEA_PUBLISH_TOKEN: ${{ secrets.GITEAPACKAGETOKEN }} run: | set -euo pipefail if [ -z "${GITEA_PUBLISH_TOKEN}" ]; then - echo "::error::GITEA_PACKAGE_TOKEN repository secret is not configured" + echo "::error::GITEAPACKAGETOKEN repository secret is not configured" exit 1 fi VERSION=${{ steps.version.outputs.version }} @@ -121,7 +121,7 @@ jobs: - name: Upload RPM to registry env: - GITEA_PUBLISH_TOKEN: ${{ secrets.GITEA_PACKAGE_TOKEN }} + GITEA_PUBLISH_TOKEN: ${{ secrets.GITEAPACKAGETOKEN }} run: | set -euo pipefail VERSION=${{ steps.version.outputs.version }} @@ -132,7 +132,7 @@ jobs: - name: Create Gitea release env: - GITEA_PUBLISH_TOKEN: ${{ secrets.GITEA_PACKAGE_TOKEN }} + GITEA_PUBLISH_TOKEN: ${{ secrets.GITEAPACKAGETOKEN }} run: | VERSION=${{ steps.version.outputs.version }} # Check if release already exists (idempotent re-runs) @@ -151,7 +151,7 @@ jobs: - name: Attach artifacts to release env: - GITEA_PUBLISH_TOKEN: ${{ secrets.GITEA_PACKAGE_TOKEN }} + GITEA_PUBLISH_TOKEN: ${{ secrets.GITEAPACKAGETOKEN }} run: | VERSION=${{ steps.version.outputs.version }} # Get release ID for this tag