diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 5228d3c..7d9859f 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -39,10 +39,10 @@ jobs: - name: Create release and upload assets env: - TOKEN: ${{ secrets.RELEASE_TOKEN }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -eu - [ -n "${TOKEN}" ] || { echo "ERROR: secret RELEASE_TOKEN is empty or not defined"; exit 1; } + [ -n "${TOKEN}" ] || { echo "ERROR: no token available (secrets.GITHUB_TOKEN is empty)"; exit 1; } API="${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}" if [ "${GITHUB_REF_TYPE:-}" = "tag" ]; then TAG="${GITHUB_REF_NAME}"