Skip to content

Commit

Permalink
fix(ci): update ci to publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
xenirio committed Dec 2, 2022
1 parent 36ef1a3 commit 3731f10
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ steps:
image: golang:1.18
environment:
GITHUB_API_KEY:
from_secret: github_api_key
from_secret: kitebot_api_key
GITHUB_API_USER:
from_secret: github_api_user
from_secret: kitebot_api_user
commands:
- go install github.com/guilhem/[email protected]
- git remote add authenticated-origin https://$GITHUB_API_USER:[email protected]/$DRONE_REPO
Expand All @@ -47,7 +47,8 @@ steps:
- git push authenticated-origin --tags
when:
branch:
- master
- fix/update-publish-ci
# - master

trigger:
event:
Expand All @@ -64,7 +65,7 @@ steps:
environment:
GO111MODULE: on
GITHUB_API_KEY:
from_secret: github_api_key
from_secret: kitebot_api_key
commands:
- echo $DRONE_TAG | grep -v / || exit 78 # Skip if submodule is tagged
- go mod download
Expand Down

0 comments on commit 3731f10

Please sign in to comment.