From 0818f48800347738ecda3ecdc5c00158870e6314 Mon Sep 17 00:00:00 2001 From: LJ Date: Sun, 9 Mar 2025 13:54:19 -0700 Subject: [PATCH] Further fix docs deployment workflow. (#82) (it's only testable after merging to main) --- .github/workflows/docs.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3d220cd..0a38000 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -54,9 +54,6 @@ jobs: if: ${{ needs.deploy-precheck.outputs.gh-deploy-key == 'true' }} runs-on: ubuntu-latest steps: - - name: Check secret set - run: | - echo "GH_PAGES_DEPLOY: ${{ secrets.GH_PAGES_DEPLOY }}" - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -72,7 +69,7 @@ jobs: cache: yarn - uses: webfactory/ssh-agent@v0.5.0 with: - ssh-private-key: ${{ env.GH_PAGES_DEPLOY }} + ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} - name: Deploy to GitHub Pages env: USE_SSH: true