From 3871d37781bd987a1e6463eac35c339bc16c97a4 Mon Sep 17 00:00:00 2001 From: Marika Marszalkowski Date: Wed, 15 Apr 2026 11:21:34 +0200 Subject: [PATCH] use gh token --- .github/workflows/release.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 032ef973d1..bbd8aa6531 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,24 +11,11 @@ jobs: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 with: - node-version: 20 - - name: Add key - env: - SSH_AUTH_SOCK: /tmp/ssh_agent.sock - run: | - mkdir -p ~/.ssh - ssh-keyscan github.com >> ~/.ssh/known_hosts - echo "${{ secrets.GH_PAGES_DEPLOY }}" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - cat <> ~/.ssh/config - Host github.com - HostName github.com - IdentityFile ~/.ssh/id_rsa - EOT + node-version: 24 - name: Release Documentation to GitHub Pages env: - USE_SSH: true - GIT_USER: gh-actions + GIT_USER: x-access-token + GIT_PASS: ${{ secrets.GITHUB_TOKEN }} run: | git config --global user.email "gh-actions@github.com" git config --global user.name "gh-actions"