refactor: extract shared CI steps to deploy_call.yaml reusable workflow
Release / deploy (push) Has been cancelled
Beta Release / deploy (push) Has been cancelled

This commit is contained in:
datadunia
2026-05-08 05:48:02 +07:00
parent 9c771f098c
commit 25e0cfd15e
3 changed files with 2 additions and 4 deletions
-4
View File
@@ -66,11 +66,8 @@ jobs:
- name: Create Release and upload assets
env:
# PINDAHKAN TOKEN KE SINI
TOKEN: ${{ secrets.BUILD_TOKEN }}
run: |
# Sekarang $TOKEN sudah bisa dipakai di Bash
echo "--- Diagnostic ---"
if [ -z "$TOKEN" ]; then
echo "Value: [EMPTY]"
exit 1
@@ -82,7 +79,6 @@ jobs:
TAG="${{ gitea.ref_name }}"
API="${{ gitea.server_url }}/api/v1"
# 1. Create Release
JSON_BODY=$(printf '{"tag_name":"%s","name":"%s","body":"Release %s","draft":false,"prerelease":%s}' "$TAG" "$TAG" "$TAG" "${{ inputs.prerelease }}")
RELEASE_RESP=$(curl -s -X POST \