GitHub Action to build and deploy your Gatsby site to GitHub Pages ❤️🎩
MIT License
Bot releases are hidden (Show)
Node 12 is no longer supported by GitHub Actions (rightfully so!) so this release simply bumps it to Node 16 plus updates other dependencies.
Published by enriikke over 3 years ago
This release includes a new feature that allows you to specify a deployment user for your commits! 🎉
You can do this by passing git-config-name and git-config-email as inputs:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: enriikke/gatsby-gh-pages-action@v2
with:
access-token: ${{ secrets.ACCESS_TOKEN }}
git-config-name: DeployBot
git-config-email: [email protected]
It also includes a vulnerability fix: https://github.com/enriikke/gatsby-gh-pages-action/pull/62
And moves away from yarn
into npm
for local development.
Published by enriikke over 3 years ago
This release includes a security vulnerability fix as well as correctly bumps the major and minor tag versions. 🎉 😃
Published by enriikke about 5 years ago
This release fixes an issue running this Action with NPM. Instead of running gatsby build
directly, it will use the build
script defined in package.json
. ✌️
Published by enriikke about 5 years ago
With this release, you to add a CNAME
file at the root of the project containing the custom domain you would like to use and Gatsby Publish will copy it over when deploying so your domain is persisted between builds.
Published by enriikke about 5 years ago
Migrates to a new JavaScript Action and makes use of the new way of defining inputs for an Action, rather than relying on environment variables alone. The documentation is also updated to align with GitHub Pages requirements better. 🎉 🚀
Published by enriikke over 5 years ago
Update default DEPLOY_BRANCH
to master
since User and Org pages are required to use it. Project pages can still set DEPLOY_BRANCH
to whatever they use. 🎉
Published by enriikke over 5 years ago
Publish the first iteration of this Action on the Marketplace! 🎉