{"id":15637975,"url":"https://github.com/ndimatteo/sanity-plugin-vercel-deploy","last_synced_at":"2025-04-06T02:08:45.771Z","repository":{"id":38999518,"uuid":"283884775","full_name":"ndimatteo/sanity-plugin-vercel-deploy","owner":"ndimatteo","description":"Custom plugin to trigger webhooks from your Sanity Studio.","archived":false,"fork":false,"pushed_at":"2024-07-18T21:39:41.000Z","size":1279,"stargazers_count":104,"open_issues_count":13,"forks_count":21,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T00:07:46.793Z","etag":null,"topics":["nextjs","sanity","sanity-studio","vercel","vercel-deployment"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndimatteo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-30T21:59:02.000Z","updated_at":"2024-12-20T08:06:28.000Z","dependencies_parsed_at":"2024-07-19T03:04:38.215Z","dependency_job_id":"b2e5808f-7082-4997-8db0-27aff327ca69","html_url":"https://github.com/ndimatteo/sanity-plugin-vercel-deploy","commit_stats":{"total_commits":90,"total_committers":5,"mean_commits":18.0,"dds":0.2666666666666667,"last_synced_commit":"4cfe218271bd7f964b62f3cdc94ffe2cdc51bcab"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndimatteo%2Fsanity-plugin-vercel-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndimatteo%2Fsanity-plugin-vercel-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndimatteo%2Fsanity-plugin-vercel-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndimatteo%2Fsanity-plugin-vercel-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndimatteo","download_url":"https://codeload.github.com/ndimatteo/sanity-plugin-vercel-deploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423514,"owners_count":20936626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs","sanity","sanity-studio","vercel","vercel-deployment"],"created_at":"2024-10-03T11:16:42.815Z","updated_at":"2025-04-06T02:08:45.736Z","avatar_url":"https://github.com/ndimatteo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/7f678484-2b59-4b5a-ba25-17f31512fab5\" align=\"center\" height=\"30\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eTrigger Vercel Deploy Hooks from your Sanity V3 Studio.\u003c/strong\u003e\u003cbr /\u003e\n✨ LIVE status updates ✨ multiple deployments ✨ active polling ✨ Vercel Teams support ✨\n\u003c/p\u003e\n\n![vercel-deploy-v3](https://user-images.githubusercontent.com/737188/214927717-ba84450f-8359-401c-acf0-08eeafc22881.png)\n\n\u003cbr /\u003e\n\n## 🔌 Install\n\n```sh\nyarn add sanity-plugin-vercel-deploy\n# or npm\nnpm i sanity-plugin-vercel-deploy\n```\n\n\u003e **Warning** \u003cbr /\u003eThis is a **Sanity Studio V3** plugin. For the V2 version, please refer to the [studio-v2 branch](https://github.com/ndimatteo/sanity-plugin-vercel-deploy/tree/studio-v2).\n\n\u003cbr /\u003e\n\n## ⚙️ Configure\n\n```ts\n// `sanity.config.ts` / `sanity.config.js`:\nimport { defineConfig } from 'sanity'\nimport { vercelDeployTool } from 'sanity-plugin-vercel-deploy'\n\nexport default defineConfig({\n  // ...\n  plugins: [\n    // ...\n    vercelDeployTool(),\n  ],\n})\n```\n\n\u003cbr /\u003e\n\n## 🚀 Your first Vercel Deployment\n\nOnce installed, you should see a new \"Deploy\" tool in your Sanity Studio navbar.\n\nTo create a new deployment, click the **\"Add Project\"** button. Next, you'll be prompted to add the following:\n\n#### `Title`\n\nA name for your deployment to help you organize your deployments. \u003cbr /\u003e\n_Typically, this should be the environment you are deploying to, like `Production` or `Staging`_\n\n#### `Vercel Project Name`\n\nThis is the slugified project name listed in your Vercel account. \u003cbr /\u003e\n_You can find this in your Vercel Project under Settings → General → \"Project Name\"_\n\n#### `Vercel Team Name` _(optional)_\n\nIf your project is part of a Vercel Team you must provide this value. \u003cbr /\u003e\n_You can find this in your Vercel Team, under Settings → General → \"Team Name\"_\n\n#### `Deploy Hook URL`\n\nThis is the Vercel Deploy hook you want to trigger builds with. \u003cbr /\u003e\n_You can find this in your Vercel Project under Settings → Git → \"Deploy Hooks\"_\n\n#### `Vercel Token`\n\nThis is a token from your Vercel Account (not project). \u003cbr /\u003e\n_You can find this from your Vercel Account dropdown under Settings → \"Tokens\"_\n\n\u003cbr /\u003e\n\n## 🧪 Develop \u0026 test\n\nThis plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)\nwith default configuration for build \u0026 watch scripts.\n\nSee [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)\non how to run this plugin with hotreload in the studio.\n\n\u003cbr /\u003e\n\n## 🤝 License\n\n### MIT\n\n\u003e [nickdimatteo.com](https://nickdimatteo.com) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Github [@ndimatteo](https://github.com/ndimatteo) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Instagram [@ndimatteo](https://instagram.com/ndimatteo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndimatteo%2Fsanity-plugin-vercel-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndimatteo%2Fsanity-plugin-vercel-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndimatteo%2Fsanity-plugin-vercel-deploy/lists"}