fix: force github-release plugin to use GitHub API instead of Gitea
The plugin was auto-detecting the Gitea instance and using its API instead of GitHub's. Fixed by: - Adding explicit environment variables to override detection - Removing deprecated github_url/github_upload_url parameters - Setting DRONE_REMOTE_URL to point to GitHub 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -111,11 +111,17 @@ steps:
|
|||||||
# -------- NEW: Create GitHub Release --------
|
# -------- NEW: Create GitHub Release --------
|
||||||
- name: github-release
|
- name: github-release
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
|
environment:
|
||||||
|
PLUGIN_API_KEY:
|
||||||
|
from_secret: GITHUB_TOKEN
|
||||||
|
DRONE_REMOTE_URL: https://github.com/the-luap/picpeak.git
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: GITHUB_TOKEN
|
from_secret: GITHUB_TOKEN
|
||||||
repo: the-luap/picpeak
|
repo: the-luap/picpeak
|
||||||
title: "PicPeak ${DRONE_TAG}"
|
title: "PicPeak ${DRONE_TAG}"
|
||||||
|
prerelease: false
|
||||||
|
overwrite: true
|
||||||
note: |
|
note: |
|
||||||
# PicPeak ${DRONE_TAG}
|
# PicPeak ${DRONE_TAG}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user