Skip to content

Commit 3731f10

Browse files
committed
fix(ci): update ci to publish release
1 parent 36ef1a3 commit 3731f10

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.drone.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ steps:
3636
image: golang:1.18
3737
environment:
3838
GITHUB_API_KEY:
39-
from_secret: github_api_key
39+
from_secret: kitebot_api_key
4040
GITHUB_API_USER:
41-
from_secret: github_api_user
41+
from_secret: kitebot_api_user
4242
commands:
4343
- go install github.com/guilhem/[email protected]
4444
- git remote add authenticated-origin https://$GITHUB_API_USER:[email protected]/$DRONE_REPO
@@ -47,7 +47,8 @@ steps:
4747
- git push authenticated-origin --tags
4848
when:
4949
branch:
50-
- master
50+
- fix/update-publish-ci
51+
# - master
5152

5253
trigger:
5354
event:
@@ -64,7 +65,7 @@ steps:
6465
environment:
6566
GO111MODULE: on
6667
GITHUB_API_KEY:
67-
from_secret: github_api_key
68+
from_secret: kitebot_api_key
6869
commands:
6970
- echo $DRONE_TAG | grep -v / || exit 78 # Skip if submodule is tagged
7071
- go mod download

0 commit comments

Comments
 (0)