Skip to content

Commit 32e2144

Browse files
committed
using release token
1 parent e31ea3f commit 32e2144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
id: create_release
2929
uses: actions/create-release@v1
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
31+
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} # This token is provided by Actions, you do not need to create your own token
3232
with:
3333
tag_name: ${{ github.ref }}
3434
release_name: Release ${{ github.ref }}
@@ -81,7 +81,7 @@ jobs:
8181
- name: Upload binaries to release
8282
uses: svenstaro/upload-release-action@v2
8383
with:
84-
repo_token: ${{ secrets.GITHUB_TOKEN }}
84+
repo_token: ${{ secrets.RELEASE_TOKEN }}
8585
file: amlen_exporter-${{ env.RELEASE_VERSION }}.linux-amd64.tar
8686
asset_name: amlen_exporter-${{ env.RELEASE_VERSION }}.linux-amd64.tar
8787
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)