From 3c7eeeb5fe170d8a1c04e09329b685c3d2fca1ab Mon Sep 17 00:00:00 2001 From: o-tsaruk Date: Tue, 21 Nov 2023 04:44:19 +0200 Subject: [PATCH] use ssh --- .github/workflows/gh-pages-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index 1ce0921..cb22b22 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -12,10 +12,15 @@ jobs: - uses: actions/setup-node@v1 with: node-version: '16.x' + - uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} - name: Release to GitHub Pages env: + USE_SSH: true GIT_USER: git run: | + cd docs git config --global user.email "actions@github.com" git config --global user.name "gh-actions" yarn install --frozen-lockfile