Gatsby Cloud runs gatsby build
for Production Builds and Pull Request Builds.
If you need to run any custom scripts, you can add a preinstall
or postinstall
script to your package.json
and we will run that before or after your packages are installed.
Alternatively, you can also execute custom scripts during the onPostBuild or onPreBuild APIs in gatsby-node.js.
Comments
0 comments
Please sign in to leave a comment.