package.jsonfile. Simply set the build command to
npm run [BUILD_SCRIPT] or
yarn [BUILD_SCRIPT] depending on your preferred dependency manager. * You will also have to define the publish directory, which is generally
dist but can sometimes vary.
If your codebase works as a monorepo, you can set up your deploy to point at a specific base directory in your code base. When you configure the base directory Terminal will use the base directory as the primary or root directory and build your site from there.
gastby build and the publish directory to
You will also need to have the
gatsby-plugin-ipfs installed and configured in your gatsby-config file.