action-hosting-deploy icon indicating copy to clipboard operation
action-hosting-deploy copied to clipboard

Cannot use configuration option when deploy

Open matthews90 opened this issue 2 years ago • 1 comments

This action should let user use the configuration option like "--configuration production". Without this option the tool deploy developer version of site only

matthews90 avatar Jun 27 '22 10:06 matthews90

Maybe you missed it. channelId property is the configuration you're looking for.

Options:

  • live - production side
  • <other-names> - named preview channel
  • Leaves empty - new/random preview channel (there are some issue with this)

From the docs:

The ID of the channel to deploy to. If you leave this blank, a preview channel and its ID will be auto-generated per branch or PR. If you set it to live, the action deploys to the live channel of your default Hosting site.

iqfareez avatar Aug 11 '22 12:08 iqfareez