redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

Add additional options to push command

Open Orest-Yastremskyy opened this issue 2 years ago • 2 comments

We would like to have an option to disable API docs builds for initial builds using push command.

Thus to add something like --skip-initial-build or skip-preview-branch-build to disable builds starting from the initial push.

This should work similar to the option we have in our UI:

image

Front logo Front conversations

Orest-Yastremskyy avatar Jul 15 '22 13:07 Orest-Yastremskyy

I think the options should match the UI more:

--skip-api-docs-primary --skip-api-docs-previews

adamaltman avatar Jul 15 '22 13:07 adamaltman

we already implemented similar functionality https://github.com/Redocly/workflows/issues/1958 can be useful for this issue

Marshevskyy avatar Jul 15 '22 13:07 Marshevskyy

Closing as I don't think we need this any more.

lornajane avatar Nov 17 '23 17:11 lornajane