Skip to content

Commit fe76164

Browse files
committed
feat: rename GITHUB_TOKEN
1 parent bba4f60 commit fe76164

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Create a release in weave-binaries
5757
run: |
5858
RELEASE_ID=$(curl -s -X POST \
59-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
59+
-H "Authorization: token ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}" \
6060
-H "Accept: application/vnd.github.v3+json" \
6161
https://api.github.com/repos/initia-labs/weave-binaries/releases \
6262
-d '{
@@ -70,10 +70,10 @@ jobs:
7070
7171
for file in build/darwin-amd64/weave build/darwin-arm64/weave build/linux-amd64/weave build/linux-arm64/weave; do
7272
curl -X POST \
73-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
73+
-H "Authorization: token ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}" \
7474
-H "Content-Type: application/octet-stream" \
7575
--data-binary @$file \
7676
"https://uploads.github.com/repos/initia-labs/weave-binaries/releases/$RELEASE_ID/assets?name=$(basename $file)"
7777
done
7878
env:
79-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79+
WEAVE_BINARIES_GITHUB_TOKEN: ${{ secrets.WEAVE_BINARIES_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)