Skip to content

Commit

Permalink
build: removed deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
manchuck committed May 22, 2024
1 parent fdfe517 commit 160ef22
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,26 @@ on:

env:
GH_TOKEN: ${{ secrets.GH_TOKEN_COMMIT }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_COMMIT}}

jobs:
test-action:
runs-on: ubuntu-latest
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
Expand All @@ -37,7 +43,6 @@ jobs:
run: |
git config --local user.name github-actions
git config --local user.email [email protected]
git remote -v
git add RELEASES.md
git commit -m "chore: updated release log"
git push --force-with-lease

0 comments on commit 160ef22

Please sign in to comment.