This is a basic guide. Depending on your project's requirements, you might need to adjust configurations, especially if you're using a static site generator or specific build tools. build now gg github io
- name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public # Change to your site's output directory Adjust according to your static site generator's output directory. on: push: branches: - main
This is a basic guide
name: Deploy to GitHub Pages
We use cookies to improve your experience and analyze website traffic. By clicking “OK,“ you agree to our website's cookie use as described in our Cookie Policy.