From 160ef224deac2c8df57b88973a3bdd64abe5fc9e Mon Sep 17 00:00:00 2001 From: Chuck MANCHUCK Reeves Date: Wed, 22 May 2024 17:15:32 -0400 Subject: [PATCH] build: removed deploy key --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 661c5af8..d8c87330 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,6 @@ on: env: GH_TOKEN: ${{ secrets.GH_TOKEN_COMMIT }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN_COMMIT}} jobs: test-action: @@ -18,12 +17,19 @@ jobs: name: Update Release steps: + - name: Check Token + if: env.GH_TOKEN == '' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: echo "GH_TOKEN=${GITHUB_TOKEN}" >> $GITHUB_ENV + - name: Checkout id: checkout uses: actions/checkout@v4 with: ref: '3.x' - ssh-key: ${{ secrets.GH_DEPLOY_KEY }} + fetch-depth: 0 + token: ${{ secrets.GH_TOKEN }} - name: Setup node uses: actions/setup-node@v3 @@ -37,7 +43,6 @@ jobs: run: | git config --local user.name github-actions git config --local user.email github-actions@github.com - git remote -v git add RELEASES.md git commit -m "chore: updated release log" git push --force-with-lease