简体   繁体   中英

How to prevent Azure CLI's `swa deploy` from creating a .ZIP folder?

Every time I deploy an Azure static web app using swa deploy , it creates an unnecessary .zip folder at the root of my application:

在此处输入图像描述

Found no option in the docs to disabled this, so for now I have to delete these folders manually every time I make a deployment.

Not that this prevents the zip files from being created, but I did add *.\\* to my.gitignore so that at least these aren't seen by git. Might also be worth adding a post build command to remove these on deploy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM