Hi @Ricky chen (陈帅) Greetings! Thank you for posting this question here.
The Azure Functions action (Azure/azure-functions
) defines how your code is published to an existing function app in Azure, or to a specific slot in your app.
There is an optional parameter named slot-name
which can be passed through the configuration file that determines the specific deployment slot you want to deploy the app to. When you do not pass this parameter, the app will be deployed to the current active slot.
Please refer to the Run Azure Functions Action section of the configuration file and make sure you pass the slot-name
parameter and point it to the dev slot.
You may refer to the article section Azure Functions action for more information on this. Here is a reference to the Example workflow configuration file that will help you with forming the configuration file.
Hope this helps! Please let us know if you need any additional assistance or have further questions.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.