【文件属性】:
文件名称:ddeploy:自动将文件部署到 CMS
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-09 06:05:43
JavaScript
部署
自动将文件部署到 Kurtosys CMS
要传递的可选属性
第一个参数:站点配置
第二个参数:用户凭据文件
用法示例: phantomjs ddeploy.js cms_config_uat.js cms_user_uat.js
示例站点配置文件
注意:所有属性值都区分大小写!
exports . config = {
"url" : "http://website.com/" ,
"client" : "someclient" ,
"website" : "somewebsite" ,
"publish_type" : 1 , // 0: manual publish, 1: whole website, 2: only changed web pages
"components" : [
{
"local" : "a.txt" ,
"remote"
【文件预览】:
ddeploy-master
----README.md(3KB)
----ddeploy.js(16KB)
----.editorconfig(414B)
----.gitignore(72B)
----package.json(436B)