sanity-plugin-digitalocean-deploy

1.0.11 • Public • Published

DigitalOcean Deployments for Sanity

This project is shamelessly ripped off of based on sanity-plugin-vercel-deploy by Nick DiMatteo.

Trigger DigitalOcean Deploy Hooks from your Sanity Studio.
✨ LIVE status updates ✨ multiple deployments ✨ active polling ✨

Install

Run the following command in your studio folder using the Sanity CLI:

sanity install digitalocean-deploy

⚠️ Note: If your Studio is not using the @sanity/dashboard part, you'll need to manually install this as well:

sanity install @sanity/dashboard

Your first DigitalOcean Deployment

Once installed, you should see a new "Deploy" tool in your Sanity Studio navbar.

To create a new deployment, click the Add Project button. Next, you'll be prompted to add the following:

Title

A name for your deployment. This can be whatever you want, to help you organize your deployments. Typically, this should be the environment you are deploying to, like Production or Staging


Deploy App ID

This is the DigitalOcean App ID you want to trigger.


API Token

This is a token from your DigitalOcean Account (not project). TODO: directions

😎 Once you've created your deployment you can now trigger deploys at anytime!


License

MIT

sanity-plugin-digitalocean-deploy

Package Sidebar

Install

npm i sanity-plugin-digitalocean-deploy

Weekly Downloads

2

Version

1.0.11

License

MIT

Unpacked Size

414 kB

Total Files

26

Last publish

Collaborators

  • eric_wvgg