mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
switch to plugins/gitea-release
This commit is contained in:
parent
f03592ae13
commit
5ff73bed89
1 changed files with 10 additions and 7 deletions
|
@ -53,14 +53,17 @@ pipeline:
|
|||
- PORT=4430
|
||||
|
||||
release:
|
||||
image: qwerty287/gitea-release-attacher
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
instance: https://codeberg.org
|
||||
user: ${CI_REPO_OWNER}
|
||||
repo: ${CI_REPO_NAME}
|
||||
release_tag: ${CI_COMMIT_TAG}
|
||||
remove_all: true
|
||||
token:
|
||||
base_url: https://codeberg.org
|
||||
file_exists: overwrite
|
||||
files: build/codeberg-pages-server
|
||||
api_key:
|
||||
from_secret: bot_token
|
||||
environment:
|
||||
- DRONE_REPO_OWNER=${CI_REPO_OWNER}
|
||||
- DRONE_REPO_NAME=${CI_REPO_NAME}
|
||||
- DRONE_BUILD_EVENT=${CI_BUILD_EVENT}
|
||||
- DRONE_COMMIT_REF=${CI_COMMIT_REF}
|
||||
when:
|
||||
event: [ "tag" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue