Deploy Gatsby to GitHub Pages
Simple GitHub Actions workflow to deploy Gatsby to GitHub page
# https://github.com/enriikke/gatsby-gh-pages-action/blob/main/README.mdname: Publish Gatsby to GitHub pages
on: push: branches: - mainjobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master
- uses: enriikke/gatsby-gh-pages-action@v2 with: # access-token is a GitHub Personal access token with the a 'repo' scope access-token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} deploy-branch: gh-pages