Deploy to GitHub Pages
Now that we have a running headless locally, we may want to deploy it to GitHub Pages.
Get all setup and then run
yarn deploy
Don’t forget to updated your gatsby-config.js and package.json files.
You may need to modify the deploy script of your package.json file to reflect the target repository and branch.
gatsb build ... && gh-pages -r REPO_URL -b master
Next: Create a contact form
Previous: Sourcing Gatsby from WordPress
...