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