From dfc8d9ed573af8c70aa03ac8099334a0aad108b8 Mon Sep 17 00:00:00 2001 From: datadunia Date: Fri, 8 May 2026 05:04:54 +0700 Subject: [PATCH] fix: restore Create Release step with correct Swagger-compliant JSON and auth header --- .gitea/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index c23726b..0b4f417 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: run: | git config --global --remove-section http || true git config --global --unset-all core.askPass || true - TOKEN="${{ secrets.TOKEN_BUILD }}" + TOKEN="${{ secrets.BUILD_TOKEN }}" git clone --recurse-submodules \ -c credential.helper="" \ https://token:$TOKEN@git.datadunia.com/devops/wireguard-vpn.git . @@ -63,8 +63,7 @@ jobs: - name: Create Release and upload assets env: # PINDAHKAN TOKEN KE SINI - TOKEN: ${{ secrets.TOKEN_BUILD }} - + TOKEN: ${{ secrets.BUILD_TOKEN }} run: | # Sekarang $TOKEN sudah bisa dipakai di Bash echo "--- Diagnostic ---"