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 pageson:push:branches:- mainjobs:build:runs-on: ubuntu-lateststeps:- uses: actions/checkout@master- uses: enriikke/gatsby-gh-pages-action@v2with:# access-token is a GitHub Personal access token with the a 'repo' scopeaccess-token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}deploy-branch: gh-pages
Credit
Loading comments...