diff --git a/repo-config.js b/repo-config.js index 9abb5f2..7eb9cc0 100644 --- a/repo-config.js +++ b/repo-config.js @@ -1,19 +1,33 @@ -const defaultExclude = ['**/node_modules/**', '**/.git*/**', '**/.git*', '**/.well-known/**', '*.{exe,docx}', '**/cache*/**', '**/tmp*/**', '**/logs/**', '**/web.config', '.idea/**']; +const defaultExclude = [ + '**/node_modules/**', + '**/.git*/**', + '**/.git*', + '**/.well-known/**', + '*.{exe,docx}', + '**/cache*/**', + '**/tmp*/**', + '**/logs/**', + '**/web.config', + '.idea/**', + '.ftp-deploy-sync-state.json', +]; export const cfg = { 'info': { folder: 'information-system', - exclude: [].concat(defaultExclude, ['{document,download_statement,sample}/**', '**/author/document/**', - '**/kcfinder/upload/**', - '**/kcfinder/cache/**', - '**/cache/**', - '**/author/document/**', - '**/statement_files/**', - '**/paypal_activities/**', - '**/author/document/**', - '**/application/libraries/composer/**', - '**/application/config/database.php', - ]), + exclude: [].concat(defaultExclude, [ + '{document,download_statement,sample}/**', + '**/author/document/**', + '**/kcfinder/upload/**', + '**/kcfinder/cache/**', + '**/cache/**', + '**/author/document/**', + '**/statement_files/**', + '**/paypal_activities/**', + '**/author/document/**', + '**/application/libraries/composer/**', + '**/application/config/database.php', + ]), }, 'gh': { folder: 'globalhighlights.com', @@ -21,7 +35,15 @@ export const cfg = { }, 'ch': { folder: 'chinahighlights.com', - exclude: [].concat(defaultExclude, ['**/{image,design,system,pdf}/**']), + exclude: [].concat(defaultExclude, [ + '**/{image,design,system,pdf}/**', + '**/CHT/logs/**', + '**/CHT/cache/**', + '**/{community,media,image,video,mapi,css,js,CHTMinTools}/**', + '**/api/getdevice/**', + '**/api/cache/**', + '*.{jpg,jpeg,png,bmp,gif,css,js,mp4,mp3,db,pdf,rar,zip,flv,swf,xml,ppt,txt,log,chunk,pdf,pps,doc,bak,exe,dll,apk,mpg,webm,cookie}', + ]), }, 'ch-data': { folder: 'data.chinahighlights.com', @@ -29,6 +51,15 @@ export const cfg = { }, 'ah': { folder: 'asiahighlights.com', - exclude: [].concat(defaultExclude, ['**/{image,design,system,pdf}/**']), + exclude: [].concat(defaultExclude, [ + '**/aspbackup/**', + // '**/image/**', + '**/pic/**', + '**/videos/**', + '**/web.config', + '*.jpg', + '*.png', + '*.gif', + ]), }, };