Stackbit users are able to deploy their Jamstack site to multiple platforms, including DigitalOcean. Stackbit’s partnership with DigitalOcean allows users to use DigitalOcean’s App Platform for deploying their static sites using their DigitalOcean accounts.
To deploy a Jamstack site created with Stackbit to DigitalOcean, you will need:
- A Stackbit account connected to GitHub. You can create one for free here if you don’t have one.
- A DigitalOcean account. You can sign up here if you don’t have one. You will also need to install the Digital Ocean GitHub application DigitalOcean Github Application.
Step 1: Create a site with Stackbit
To create a site with Stackbit and deploy it to DigitalOcean you need to first log into your Stackbit account, create a new project, and change the deployment option to DigitalOcean.
Step 2: DigitalOcean authorization
Click the ‘Connect’ button.
You will be redirected to the DigitalOcean Authorization page where you’ll be prompted to allow Stackbit to access your DigitialOcean account.
Step 3: Install DigitalOcean’s GitHub app
After connecting your DigitalOcean account with Stackbit, make sure you have the DigitalOcean’s Github Application installed.
You can install it by clicking the “Install” button or just go here.
Then you will be redirected to a GitHub page to accept the installation.
Step 4: Finish creating your site
Once you’ve installed DigitalOcean’s Github Application, you will be redirected to the DigitalOcean page. Return to the Stackbit Summary Page and click the “Create Site” button.
In approximately 60 seconds, you will have your site deployed to DigitalOcean and enabled with Stackbit Studio’s capabilities to manage your site.
- Make sure sure you have connected your Stackbit account to GitHub by installing Stackbit’s Github Application. It’s easy to detect if you don’t have it installed; Stackbit will ask you via the interface.
Note: In order to avoid mismatches in permissions on GitHub and deploy your site successfully, make sure you have installed both the DigitalOcean and the Stackbit GitHub applications.
- Right now we support only Git CMS as an option. We are aiming to add support for additional CMS options soon.