diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ce2e63..2661bf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,14 +29,13 @@ jobs: deploy-docs: runs-on: ubuntu-latest needs: build-and-test - if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: npm cache-dependency-path: website/package-lock.json @@ -49,6 +48,8 @@ jobs: working-directory: website - name: Deploy to GitHub Pages + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}