From 032e2fe00bcc648bed17cfae6410a0e3fa2fede3 Mon Sep 17 00:00:00 2001 From: Mahabub Date: Tue, 15 Oct 2024 15:25:01 +0600 Subject: [PATCH] fix(ci): release-ci fixing secret names --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0b7d47..121c30e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,9 +33,9 @@ jobs: # 4. Run release-it to handle the release process - name: Run release-it env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Default GitHub token + GITHUB_TOKEN: ${{ secrets.GH_PA_TOKEN }} # Default GitHub token NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npx release-it + run: npm run release # 5. Update CHANGELOG.md and push changes - name: Update CHANGELOG.md @@ -46,4 +46,4 @@ jobs: git commit -m 'Update CHANGELOG.md' git push env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PA_TOKEN }}