From 236497f4d8a9336c366b63717cf91a9dfa2c6cb5 Mon Sep 17 00:00:00 2001 From: Theophilus <60826700+Extheoisah@users.noreply.github.com> Date: Wed, 14 Aug 2024 02:22:33 +0100 Subject: [PATCH] fix: use GH_TOKEN for release step see https://cli.github.com/manual/gh_auth_login#:~:text=To%20use%20gh%20in%20GitHub,or%20during%20the%20interactive%20prompting. --- .github/workflows/build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 6231d10..d40a885 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -40,6 +40,6 @@ jobs: - name: Update release with dist folder env: - BDP_UI_TOKEN: ${{ secrets.BDP_UI_TOKEN }} + GH_TOKEN: ${{ github.token }} run: | gh release upload ${{ github.ref }} dist/** --clobber