Tldr
Continuous Deployment (CD) pipeline for a Gatsby project using GitHub Actions.
🌐 Overview
In this guide, we will set up a continuous deployment (CD) pipeline for aGatsby project usingGitHubActions.
📝 Configuration
👀 Node version
The setup-node
action is used to set up the Node.js environment for the workflow. It reads the .nvmrc
file in the repository to determine the Node.js version to use.
Caution
The
node-version-file
is available sincev4
of thesetup-node
action.
Info
File containing the version Spec of the version to use. Examples:
package.json
,.nvmrc
,.node-version
,.tool-versions
.If
node-version
andnode-version-file
are both provided the action will use version from node-version.
🔔 Notifications
The notify
job in the workflow file is responsible for sending notifications to the Google Indexing API and Bing URL Submission API.