-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting配置项说明 #8
Labels
good first issue
Good for newcomers
Comments
Closed
我只想排除掉根目录的Web.config 用/Web.config 还是把子目录里的Web.config 排除了,大佬有办法解决吗? 还有打开antdeploy窗口的时候经常性导致VS2017卡死 |
@laotan6a 试试 ^/Web.config 再有问题加群反馈 请使用最新版 3.5版本 |
Closed
/runtimes?.+ 就代表排除掉publish下的整个runtimes文件夹 |
/runtimes?.+ 就代表排除掉publish下的整个runtimes文件夹 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
env 新增环境
要想使用antdeploy发布到远程机器 第一步就是先添加一个环境
输入你希望命名的环境名称 然后点击 【add by name】 添加环境
server 环境下添加服务器
服务器目前分2块 一个是token服务器 一个是linux服务器。
token服务器指的是需要在服务器上安装agent,其中Host 是 你部署agent配置的ip:端口号
linux服务器是选择docker部署的时候需要配置的也就是docker宿主机,配置的是linux服务器的ssh链接的账号 密码
PS:nickname是你给服务器起的昵称。比起ip看起来更能让你标识
Package Ignore Rule 打包忽略配置
这个是用来忽略打包文件的。比如你的web.cofig文件不想打包。那么就可以填入web.config文件名称。
还可以用正则表达式。比如 *.json 代表忽略所有的json文件
可以忽略整个文件夹
例如在发布netcore的项目到iis场景下,在非首次发布的时候 publish目录下的 runtimes其实可以不用覆盖,那么就可以排除掉这个文件夹 在IgnoreList里面新增加一条
/{文件夹名称}/?.+
例如 : /runtimes/?.+ 就代表排除掉publish下的整个runtimes文件夹
上面的正则很奇怪吗?在举个例子:
如上图你想要排除 runtimes目录下的 win目录 那么你直接写 win?.+ 会把所有的 带有 win 的文件包括文件夹都排除了 如果你写成 /runtimes/win?.+ 就很精确
注意:不要写服务器上的绝对路径地址,得用相对路径地址,像上面那样的例子那样写!
Windows Server BackUp IgnoreRule
发布到windows服务器的时候会进行备份
就是把当前正在运行的项目文件夹整体备份。如果你希望这个文件夹内的某个文件或者某个文件夹不作为备份目标 就可以添加排除规则,写法和 上面的一样
The text was updated successfully, but these errors were encountered: