-name:Deploy uses:peaceiris/actions-gh-pages@v3 # If you're changing the branch from main, # also change the `main` in `refs/heads/main` # below accordingly. if:${{github.ref=='refs/heads/main'}} with: github_token:${{secrets.GITHUB_TOKEN}} publish_dir:./docs/.vitepress/dist