Adds a Deploy button beside Save on chosen collections, and optionally in the admin top bar, to start Netlify builds from Payload. It shows site status, streams the build log, lets editors open a preview and publish it, and allows one build per site at a time. It requires Payload 3.90 or later, Node 22 or later, the companion guard plugin with an access policy, and a Netlify personal access token.
Publish button for Payload CMS sites on Netlify: build from the admin, stream the build log, preview a deploy and publish it, one build at a time per site
Installation
npm i @focus-reactive/payload-plugin-netlify-deploy37
Stars
5
Forks
33
Open Issues
Today
Last Updated
19
Weekly Downloads
v2.0.1
npm Version
224.0 KB
Unpacked Size
1
Dependencies
37+22 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 37 |
| Dec 4, 2026 | 37 |
| Dec 3, 2026 | 37 |
| Dec 2, 2026 | 37 |
| Dec 1, 2026 | 36 |
| Nov 30, 2026 | 35 |
| Nov 29, 2026 | 35 |
| Nov 28, 2026 | 34 |
| Nov 27, 2026 | 34 |
| Nov 26, 2026 | 34 |
| Nov 25, 2026 | 34 |
| Nov 24, 2026 | 34 |
| Nov 23, 2026 | 34 |
| Nov 22, 2026 | 34 |
| Nov 21, 2026 | 34 |
| Nov 20, 2026 | 33 |
| Nov 19, 2026 | 32 |
| Nov 18, 2026 | 32 |
| Nov 17, 2026 | 32 |
| Nov 16, 2026 | 32 |
| Nov 15, 2026 | 32 |
| Nov 14, 2026 | 32 |
| Nov 13, 2026 | 32 |
| Nov 12, 2026 | 32 |
| Nov 11, 2026 | 32 |
| Nov 10, 2026 | 32 |
| Nov 9, 2026 | 31 |
| Nov 8, 2026 | 31 |
| Nov 7, 2026 | 31 |
| Nov 6, 2026 | 31 |
| Nov 5, 2026 | 31 |
| Nov 4, 2026 | 30 |
| Nov 3, 2026 | 30 |
| Nov 2, 2026 | 30 |
| Nov 1, 2026 | 30 |
| Oct 31, 2026 | 30 |
| Oct 30, 2026 | 30 |
| Oct 29, 2026 | 30 |
| Oct 28, 2026 | 30 |
| Oct 27, 2026 | 30 |
| Oct 26, 2026 | 30 |
| Oct 25, 2026 | 30 |
| Oct 24, 2026 | 29 |
| Oct 23, 2026 | 29 |
| Oct 22, 2026 | 29 |
| Oct 21, 2026 | 29 |
| Oct 20, 2026 | 29 |
| Oct 19, 2026 | 29 |
| Oct 18, 2026 | 29 |
| Oct 17, 2026 | 27 |
| Oct 16, 2026 | 26 |
| Oct 15, 2026 | 26 |
| Oct 14, 2026 | 26 |
| Oct 13, 2026 | 25 |
| Oct 12, 2026 | 25 |
| Oct 11, 2026 | 25 |
| Oct 10, 2026 | 25 |
| Oct 9, 2026 | 25 |
| Oct 8, 2026 | 25 |
| Oct 7, 2026 | 25 |
| Oct 6, 2026 | 24 |
| Oct 5, 2026 | 24 |
| Oct 4, 2026 | 24 |
| Oct 3, 2026 | 23 |
| Oct 2, 2026 | 22 |
| Oct 1, 2026 | 22 |
| Sep 30, 2026 | 20 |
| Sep 29, 2026 | 20 |
| Sep 28, 2026 | 20 |
| Sep 27, 2026 | 20 |
| Sep 26, 2026 | 19 |
| Sep 25, 2026 | 18 |
| Sep 24, 2026 | 18 |
| Sep 23, 2026 | 18 |
| Sep 22, 2026 | 18 |
| Sep 21, 2026 | 18 |
| Sep 20, 2026 | 18 |
| Sep 19, 2026 | 18 |
| Sep 18, 2026 | 18 |
| Sep 17, 2026 | 18 |
| Sep 16, 2026 | 18 |
| Sep 15, 2026 | 18 |
| Sep 14, 2026 | 18 |
| Sep 13, 2026 | 17 |
| Sep 12, 2026 | 17 |
| Sep 11, 2026 | 17 |
| Sep 10, 2026 | 16 |
| Sep 9, 2026 | 16 |
| Sep 8, 2026 | 16 |
| Sep 7, 2026 | 15 |
| Sep 6, 2026 | 15 |
Shared by 15 plugins in focusreactive/payload-plugins.
22−231 since Oct 1
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 22 |
| Dec 4, 2026 | 21 |
| Dec 3, 2026 | 24 |
| Dec 2, 2026 | 28 |
| Dec 1, 2026 | 26 |
| Nov 30, 2026 | 37 |
| Nov 29, 2026 | 34 |
| Nov 28, 2026 | 37 |
| Nov 27, 2026 | 37 |
| Nov 26, 2026 | 36 |
| Nov 25, 2026 | 33 |
| Nov 24, 2026 | 35 |
| Nov 23, 2026 | 23 |
| Nov 22, 2026 | 25 |
| Nov 21, 2026 | 19 |
| Nov 20, 2026 | 31 |
| Nov 19, 2026 | 28 |
| Nov 18, 2026 | 36 |
| Nov 17, 2026 | 37 |
| Nov 16, 2026 | 43 |
| Nov 15, 2026 | 55 |
| Nov 14, 2026 | 117 |
| Nov 13, 2026 | 127 |
| Nov 12, 2026 | 140 |
| Nov 11, 2026 | 150 |
| Nov 10, 2026 | 172 |
| Nov 9, 2026 | 175 |
| Nov 8, 2026 | 166 |
| Nov 7, 2026 | 122 |
| Nov 6, 2026 | 284 |
| Nov 5, 2026 | 310 |
| Nov 4, 2026 | 295 |
| Nov 3, 2026 | 271 |
| Nov 2, 2026 | 269 |
| Nov 1, 2026 | 265 |
| Oct 31, 2026 | 248 |
| Oct 30, 2026 | 63 |
| Oct 29, 2026 | 21 |
| Oct 28, 2026 | 16 |
| Oct 27, 2026 | 20 |
| Oct 26, 2026 | 13 |
| Oct 25, 2026 | 15 |
| Oct 24, 2026 | 40 |
| Oct 23, 2026 | 39 |
| Oct 22, 2026 | 42 |
| Oct 21, 2026 | 49 |
| Oct 20, 2026 | 44 |
| Oct 19, 2026 | 52 |
| Oct 18, 2026 | 60 |
| Oct 17, 2026 | 39 |
| Oct 16, 2026 | 51 |
| Oct 15, 2026 | 61 |
| Oct 14, 2026 | 127 |
| Oct 13, 2026 | 146 |
| Oct 12, 2026 | 145 |
| Oct 11, 2026 | 153 |
| Oct 10, 2026 | 173 |
| Oct 9, 2026 | 205 |
| Oct 8, 2026 | 395 |
| Oct 7, 2026 | 575 |
| Oct 6, 2026 | 553 |
| Oct 5, 2026 | 545 |
| Oct 4, 2026 | 525 |
| Oct 3, 2026 | 500 |
| Oct 2, 2026 | 456 |
| Oct 1, 2026 | 253 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1177993877-payload-plugin-netlify-deploy)<a href="https://payloaddirectory.dev/plugins/1177993877-payload-plugin-netlify-deploy"><img src="https://payloaddirectory.dev/badge/1177993877-payload-plugin-netlify-deploy.svg" alt="Payload Directory"></a>README
A Deploy button for Payload CMS sites hosted on Netlify: build the site from the admin, watch the build log, check a preview and publish it, without leaving the document you just saved.
A site on Netlify only shows what Payload holds after it is rebuilt. Editors usually have to ask a developer, trigger a build hook or run a Slack command, and then wait without seeing whether the build worked. This plugin puts that step where editors already are, and works for one site as well as for a CMS that feeds dozens.
The plugin is built on @focus-reactive/payload-plugin-guard.
Your project's access policy file decides who may see the status, read build logs, start builds, discard previews and publish.
Requirements: Payload ^3.90.0, @focus-reactive/payload-plugin-guard, and a config wrapped in withAccessPolicy.
Copy and paste this prompt into your AI assistant (Cursor, Claude, etc.) to integrate the plugin into an existing Payload project.
I want to add a Netlify deploy button to my Payload CMS v3 project using
@focus-reactive/payload-plugin-netlify-deploy. Follow these steps in order, and stop to ask me where a step says so.
## Rules you must follow
- Never write an access rule that admits every logged-in user: no `Boolean(req.user)`, no `() => true`,
no `({ req }) => !!req.user`. A rule names a role, or it is `nobody`.
- Do not invent roles. Ask me which roles get each capability.
- Write every policy entry by hand in `src/access.policy.ts`, and grant each capability and each
collection right explicitly to the roles I name. Nothing is open by default.
- When the boot or a request fails, fix the cause or ask me. Never use `anyone`, a looser gate,
`overrideAccess` or a removed or disabled check to make an error go away.
- Do not add `overrideAccess: true` anywhere, and do not add `access` to the plugin's collections.
- The Netlify token goes only into the server's environment, never into a `NEXT_PUBLIC_` variable.
## How it works
The plugin adds a Deploy button beside Save on the collections I list, and optionally in the admin's
top bar. Its endpoints live under `/api/netlify-deploy/`. It declares five capabilities that the
project grants in its access policy, none with a default:
- `viewStatus`: see the site's state, its recent deploys and who started them.
- `viewLog`: read a build's log, which can contain whatever the build prints.
- `build`: start a build.
- `discard`: cancel a running build or delete a finished preview.
- `publish`: put a finished preview live.
On a document's button, every action also needs read access to that document.
The plugin owns two collections, `netlify-deploy-locks` and `netlify-deploy-builds`, that only it writes.
## Step 1: install
pnpm add @focus-reactive/payload-plugin-netlify-deploy @focus-reactive/payload-plugin-guard
Check that `payload` is 3.90 or later; if it is not, upgrade it first.
## Step 2: ask me about roles
Look at the auth collection named in `admin.user` and the roles it has.
Ask me, one question per capability: "Which roles may see the deploy status?", "Which roles may read
build logs?", "Which roles may start a build?", "Which roles may discard a preview or cancel a build?",
"Which roles may publish to production?".
Wait for my answers. Write each answer as a gate in the policy file in step 3.
## Step 3: the access policy file
Open `src/access.policy.ts`, or create it if the project has none, following the guard README
(`defineAccessPolicy`, `gate`, `filter`, `nobody`, checked with `satisfies AccessPolicy<Config>`).
If you create it, every collection and global of the config needs an entry: move each existing
`access` of the project into the file, and ask me for every rule you cannot read from the code.
Add these entries for this plugin:
collections: {
"netlify-deploy-locks": { create: nobody, read: nobody, update: nobody, delete: nobody },
"netlify-deploy-builds": { create: nobody, read: nobody, update: nobody, delete: nobody },
},
plugins: {
"netlify-deploy": {
viewStatus: <gate from my first answer>,
viewLog: <gate from my second answer>,
build: <gate from my third answer>,
discard: <gate from my fourth answer>,
publish: <gate from my fifth answer>,
},
},
## Step 4: register the plugin and wrap the config
// payload.config.ts
import { buildConfig } from 'payload'
import { withAccessPolicy } from '@focus-reactive/payload-plugin-guard'
import { netlifyDeployPlugin } from '@focus-reactive/payload-plugin-netlify-deploy'
import { accessPolicy } from './access.policy'
export default withAccessPolicy(
accessPolicy,
buildConfig({
// ...the existing config
plugins: [
netlifyDeployPlugin({
token: process.env.NETLIFY_AUTH_TOKEN,
site: '<the Netlify site id or domain>',
collections: ['pages'],
access: accessPolicy.plugins['netlify-deploy'],
}),
],
})
)
Ask me for the site and the collections. Add `NETLIFY_AUTH_TOKEN` to `.env` with a placeholder and
tell me to fill it in. Run `payload generate:types` and `payload generate:importmap`, then start the app.
A missing or wrong policy entry stops the boot with a list of what to fix.
Fix each item; never loosen a rule to make an error go away.
## Step 5: verify, and show me the output
With the app running, send each request and show me the status code.
Every one of them must be refused. If one succeeds, the policy is wrong: stop and tell me.
1. Anonymous status, expect 401:
curl -i http://localhost:3000/api/netlify-deploy/status
2. Anonymous build, expect 401:
curl -i -X POST http://localhost:3000/api/netlify-deploy/build -H 'Content-Type: application/json' -d '{}'
3. A build with the session cookie of a user whose role may not build, expect 403.
4. A publish with the session cookie of a user whose role may not publish, expect 403:
curl -i -X POST http://localhost:3000/api/netlify-deploy/publish -H 'Content-Type: application/json' -H 'Cookie: <cookie>' -d '{"deployId":"000000000000000000000000"}'
5. An admin's write to the plugin's collection, expect 403:
curl -i -X POST http://localhost:3000/api/netlify-deploy-builds -H 'Content-Type: application/json' -H 'Cookie: <admin cookie>' -d '{}'
Then, as a user who may build, open a document of a listed collection and check that the Deploy button appears.
onBuild and onPublish run on the server after a build starts or a preview is published, to tell a Slack channel, for instance.@focus-reactive/payload-plugin-guard.netlify deploy has no Netlify build for the button to start.payload-admin), pick an expiry and generate it.A personal access token can do whatever its owner can do in Netlify; it cannot be limited to one site. Create it from an account with the Developer role on the team and access to the sites the CMS builds, rather than from a team owner, and give it an expiry you will remember to renew.
Add it to the environment of the server that runs Payload, not to the frontend, and never as a NEXT_PUBLIC_ variable:
# .env
NETLIFY_AUTH_TOKEN=your-token
Do the same on the CMS's host.
On Vercel: Project → Settings → Environment Variables, add NETLIFY_AUTH_TOKEN, mark it Sensitive, select the environments that should build (Production, and Preview if preview deployments of the CMS may build too) and redeploy.
Without the token every endpoint answers 500 and the button shows an error.
pnpm add @focus-reactive/payload-plugin-netlify-deploy @focus-reactive/payload-plugin-guard
Ask yourself which roles get each capability; there is no default.
The gates below are examples from a project with admin and editor roles.
// src/access.policy.ts
import { defineAccessPolicy, gate, nobody, type AccessPolicy } from "@focus-reactive/payload-plugin-guard";
import type { PayloadRequest } from "payload";
import type { Config } from "./payload-types";
const roles = (req: PayloadRequest): string[] =>
req.user?.collection === "users" ? (req.user.roles ?? []) : [];
const isAdmin = gate(({ req }) => roles(req).includes("admin"));
const isEditor = gate(({ req }) => roles(req).some((role) => ["admin", "editor"].includes(role)));
const pluginOnly = { create: nobody, read: nobody, update: nobody, delete: nobody };
export const accessPolicy = defineAccessPolicy({
collections: {
// ...your collections
"netlify-deploy-locks": pluginOnly,
"netlify-deploy-builds": pluginOnly,
},
plugins: {
"netlify-deploy": {
viewStatus: isEditor,
viewLog: isEditor,
build: isEditor,
discard: isEditor,
publish: isAdmin,
},
},
}) satisfies AccessPolicy<Config>;
One site:
// payload.config.ts
import { withAccessPolicy } from "@focus-reactive/payload-plugin-guard";
import { netlifyDeployPlugin } from "@focus-reactive/payload-plugin-netlify-deploy";
import { buildConfig } from "payload";
import { accessPolicy } from "./access.policy";
export default withAccessPolicy(
accessPolicy,
buildConfig({
plugins: [
netlifyDeployPlugin({
token: process.env.NETLIFY_AUTH_TOKEN,
site: "my-site.netlify.app", // the site id, or any of its domains
collections: ["pages", "posts"], // the button beside Save
header: true, // and in the admin's top bar
access: accessPolicy.plugins["netlify-deploy"],
}),
],
})
);
A site per document: when one CMS feeds many sites, site is a function.
It gets the document the button sits on and returns that document's Netlify site, or null where there is none, which hides the button.
The plugin calls it only after it has read the document as the caller, so a caller cannot reach the site of a document they may not read.
Read with overrideAccess: false inside it too:
netlifyDeployPlugin({
token: process.env.NETLIFY_AUTH_TOKEN,
collections: ["pages", "brands"],
access: accessPolicy.plugins["netlify-deploy"],
site: async ({ req, collection, id }) => {
if (!collection || !id) return null;
const doc = await req.payload.findByID({ collection, id, depth: 1, req, overrideAccess: false });
const brand = collection === "brands" ? doc : doc.brand;
return brand?.url ? { site: new URL(brand.url).host, note: `Builds ${brand.title}.` } : null;
},
// What the next build carries: documents saved since the live site was built.
changes: async ({ req, since }) => {
const { docs } = await req.payload.find({
collection: "pages",
where: since ? { updatedAt: { greater_than: since.toISOString() } } : {},
limit: 50,
req,
overrideAccess: false,
});
return docs.map((page) => ({ label: page.title, updatedAt: page.updatedAt }));
},
});
pnpm payload generate:types
pnpm payload generate:importmap
Open a document of a listed collection and press Deploy beside Save, then Start deploying. The log starts streaming; when the build is done, Open preview, check it, and Deploy.
| Option | Type | Default | What it does |
|---|---|---|---|
access | { viewStatus, viewLog, build, discard, publish } | required | The gates from accessPolicy.plugins["netlify-deploy"]. See Access and capabilities |
token | string | undefined | - | The Netlify personal access token. Server-side only |
site | string | (args) => SiteTarget | null | — | The site to build: its id or domain, or a function that returns { site, note? } for the document the button sits on. note is a line shown in the drawer; null hides the button |
collections | CollectionSlug[] | [] | Collections whose edit view gets the button beside Save |
header | boolean | false | Also put the button in the admin's top bar. Meant for a single site: there is no document there |
changes | (args) => DeployChange[] | - | The documents saved since since, when the live build started, so a save made during it still counts. Each is { label, updatedAt, url? } |
onBuild | (args) => void | — | Called on the server after a build starts, with { req, site, deployId } |
onPublish | (args) => void | — | Called on the server after a preview is published |
site and changes get { req, collection, id }: the document the button sits on, or nulls for the top-bar button.
Query with req and overrideAccess: false, so a caller only reaches what they may read.
| Capability | Lets a user | Also needs, on the document the button sits on |
|---|---|---|
viewStatus | see the button, the site's state, recent deploys and who started them | read |
viewLog | read a build's log | read |
build | start a build | read |
discard | cancel a running build or delete a finished preview; never a published deploy | read |
publish | put a finished preview live | read |
The capability says who may act at all; the document right comes from the policy entry you already wrote for the collection. A document only chooses which site is built, so reading it is the right that is checked; the top-bar button has no document and needs the capability alone.
collections answers 400.POST endpoints accept only Content-Type: application/json.api.netlify.com and the Netlify build log socket.GET /api/netlify-deploy/capabilities answers a logged-in admin user with one boolean per capability; the button uses it to hide what the user may not do, and the server still checks every request.
The build log panel is shown only to users with viewLog.
An action the server refuses (403) shows "You don't have permission to do this." instead of the bare status text.Payload.useAsTitle field, and only when the reader may read that user.
When that field is the email or the id, no name is shown.| Slug | Kind | Written by | Read by |
|---|---|---|---|
netlify-deploy-locks | collection | the plugin only | your policy's read; nobody is recommended |
netlify-deploy-builds | collection | the plugin only | your policy's read; nobody is recommended |
netlify-deploy-locks holds one short-lived lock per site while a build is being started.
netlify-deploy-builds holds, per build started here, the Netlify deploy id and the id of the user who started it.
| What you see | Why |
|---|---|
| No button | the user lacks viewStatus; site returned null for this document; the collection is not in collections; the import map was not regenerated |
| "The Netlify token is not configured" | NETLIFY_AUTH_TOKEN is not set on this server |
| "The request to Netlify failed" | Netlify refused or did not answer; the server log has netlify-deploy: Netlify answered … with its status and body |
401 or 403 from Netlify in the server log | the token expired or was revoked, or its owner has no access to the site |
| "Netlify has no such site or deploy" | the site id or domain is not one this token's account can see |
| "A build of this site is already running" | a build started elsewhere is still running; wait for it or cancel it on Netlify |
| "A build of this site is being started" | someone started one less than 30 seconds ago and Netlify may not list it yet |
| The build starts, but no log panel appears | the user lacks viewLog |
| The log panel stays on "Waiting for the build log…" | the server runs Node older than 22 |
| Build and deploy where you expected Start deploying | the site's auto-publishing is not locked (setup step 7) |
POST /sites/:site/builds.
Netlify keeps no title for a build started this way, so the plugin records the deploy id and the user's id in netlify-deploy-builds, which is how the drawer knows its own builds.
A site with stopped builds has them allowed just long enough to queue the build.netlify-deploy-locks, whose site column is unique, so of two simultaneous requests only one gets the lock; then it checks Netlify's list for a running build.
The lock is kept for 30 seconds, the time Netlify may take to list a new build, and a lock older than that is replaced.
What it cannot cover: a build started outside Payload between the list check and the build request, and a build that Netlify still does not list 30 seconds after it was queued.netlify logs:deploy uses, a short read per request, so no connection outlives it; at most the last 500 lines are returned.All under your API route.
For a document's button, collection and id go in the query string of GET requests and in the JSON body of POST requests; the top-bar button sends neither.
| Capability | ||
|---|---|---|
GET /netlify-deploy/status | viewStatus | the site, its phase, the current deploy, recent deploys, changes |
GET /netlify-deploy/log?deploy=<id> | viewLog | the build log so far, and whether the build has ended |
POST /netlify-deploy/build | build | start a build; 409 while one runs or is being started |
POST /netlify-deploy/discard | discard | { deployId }: cancel a running build, or delete a finished preview; never a published deploy |
POST /netlify-deploy/publish | publish | { deployId }: publish a finished build |
GET /netlify-deploy/capabilities | any admin user | one boolean per capability, for the user who asks |
2.0 moves the plugin onto @focus-reactive/payload-plugin-guard; Upgrading to the guard explains the model all the plugins share, with a complete example.
Every access rule is now written by hand in your project's src/access.policy.ts, and nothing is open by default: an entry you leave out stops the boot, and a capability you do not grant is refused for everyone.
@payloadcms/* package 3.90 or later, with the React and Next versions Payload 3.90 requires, Node 22.22 or later, and @focus-reactive/payload-plugin-guard installed next to the plugin.access: { build, publish } is replaced by five capabilities, with no default: 1.x let any signed-in user of any auth collection build, discard and publish, and showed the status and logs to anyone signed in.
build no longer covers discarding./api/netlify-deploy/ are unchanged, but POST /netlify-deploy/discard and /publish take collection and id in the JSON body instead of the query string, and every POST needs Content-Type: application/json.{ "error": "<message>" } instead of { "errors": [{ "message": "…" }] }, and they no longer repeat Netlify's answer.netlify-deploy-builds collection instead of payload.kv, as a user id instead of a name or email, and the build title sent to Netlify no longer names the user.
Builds started before the upgrade show as started outside Payload.can field; read GET /netlify-deploy/capabilities instead.Upgrade payload and every @payloadcms/* package to 3.90 or later, run the server on Node 22.22 or later, and install the guard:
pnpm add @focus-reactive/payload-plugin-guard @focus-reactive/payload-plugin-netlify-deploy.
Add the plugin's entries to src/access.policy.ts, with gates for your own roles; if the project has no policy file yet, write it first as the guide describes.
// src/access.policy.ts, inside defineAccessPolicy({ ... })
collections: {
"netlify-deploy-locks": { create: nobody, read: nobody, update: nobody, delete: nobody },
"netlify-deploy-builds": { create: nobody, read: nobody, update: nobody, delete: nobody },
},
plugins: {
"netlify-deploy": {
viewStatus: isEditor,
viewLog: isEditor,
build: isEditor,
discard: isEditor,
publish: isAdmin,
},
},
viewStatus: see the button, the site's state, recent deploys and who started them.viewLog: read a build's log, which contains whatever the build prints.build: start a build.discard: cancel a running build or delete a finished preview; never a published deploy.publish: put a finished preview live.nobody.Pass access: accessPolicy.plugins["netlify-deploy"] to netlifyDeployPlugin, and export the config wrapped: export default withAccessPolicy(accessPolicy, buildConfig({ ... })).
Database: netlify-deploy-locks and netlify-deploy-builds are new collections; on SQL databases without schema push, run payload migrate:create and then payload migrate.
Re-test: an anonymous GET /api/netlify-deploy/status answers 401, a user without build gets 403 from POST /api/netlify-deploy/build, and GET /api/netlify-deploy-builds as an admin answers 403; then start a build, read its log, publish a preview and discard another as the roles you granted.
<deploy id>--<site>.netlify.app).
master--<site>.netlify.app is the branch alias and shows what is live, not the preview.viewLog with that in mind.MIT
Topics
Tags
payload plugin comments
Document-level and field-level comments with mentions, resolution and email notifications for Payload admin
757.0k/wk37v3
payload plugin html preview
Live preview and click-to-edit in the Payload admin for any frontend that renders HTML, no framework needed
74451/wk37v3
payload plugin workflows
Code-defined editorial workflows with stages, actions, transitions and publish guards for editors and AI agents
73797/wk37v3
payload plugin scheduling
Schedule future publication of drafts on collections and globals with a secured cron endpoint
77783/wk37v3
payload plugin presets
Save and apply reusable block configurations as presets from the Payload admin blocks drawer
786.7k/wk37v3
payload plugin ab
A/B testing with page variants managed in the Payload admin and routed by Next.js middleware at the edge
741.0k/wk37v3