diff --git a/scripts/CI/CI_removeExpiredDomains.py b/scripts/CI/CI_removeExpiredDomains.py index d9aafe5..e3d87a8 100755 --- a/scripts/CI/CI_removeExpiredDomains.py +++ b/scripts/CI/CI_removeExpiredDomains.py @@ -85,6 +85,9 @@ def __getitem__(self, key): if sectionsWereModified: git_filerlist_repo.git.add(sections_path) + if sys.argv[1] == "KAD": + exclusions_path = pn(pj(filerlist_path, "exclusions")) + git_filerlist_repo.git.add(exclusions_path) git_filerlist_repo.index.commit("Wygasłe domeny\n[ci skip]") GIT_SLUG = git_filerlist_repo.remotes.origin.url.replace( 'https://', "").replace("git@", "").replace(":", "/")