Skip to content

[deploy] Restore ability to deploy drafts regardless of publishing locked state #1251

@mlbrgl

Description

@mlbrgl

Hi!

Is your feature request related to a problem? Please describe.

It used to be possible to deploy while publishing was locked on the GUI. This is not possible anymore as the only option to deploy is now bound to unlocking publishing:

Deployments are "locked" for production context of this site

? Would you like to "unlock" deployments for production context to proceed? (y/N)

Describe the solution you'd like

Passing a flag to netlify deploy to force deploys without changing the publishing lock state and without requiring interactivity.
As we use the deploy command in an automated script which doesn't allow for interactive commands, netlify deploy ends up hanging indefinitely.

Describe alternatives you've considered

Unlocking publishing prior to deploying (which defeats the purpose of locking in the first place).


Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: command: deploytype: featurecode contributing to the implementation of a feature and/or user facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions