From 365b93f9b31acd2acf5d11304bef88dcf25b5d73 Mon Sep 17 00:00:00 2001 From: Ingmar van Stipriaan Date: Tue, 22 Jul 2025 13:04:26 +0200 Subject: [PATCH] fix: use ssh key for checkout step --- .github/workflows/generate-docs.yml | 3 +-- .github/workflows/release.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index 51a0d699..2a4a58d7 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - token: ${{ secrets.GH_TOKEN }} + ssh-key: ${{ secrets.DEPLOY_KEY }} - name: Use Node.js 22.4.1 uses: actions/setup-node@v4 with: @@ -26,5 +26,4 @@ jobs: - name: Push Changes uses: ad-m/github-push-action@master env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} HUSKY_SKIP_HOOKS: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 794b4985..66fe18ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - token: ${{ secrets.GH_TOKEN }} + ssh-key: ${{ secrets.DEPLOY_KEY }} - name: Use Node.js 22.4.1 uses: actions/setup-node@v4 with: @@ -20,6 +20,5 @@ jobs: run: npm run build - name: Release notes env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release