From 83d2a650866104d8546b5f586152804d8710c7f8 Mon Sep 17 00:00:00 2001 From: curben Date: Tue, 28 May 2019 09:51:49 +0930 Subject: [PATCH] refactor: move commit.sh to CI the script is not needed for local testing --- .gitlab-ci.yml | 3 +++ index.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a7b78ec..4e080f7f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,9 @@ deploy: # Run scripts - sh index.sh + # Commit the changes + sh ../utils/commit.sh + # Push the commit - git push diff --git a/index.sh b/index.sh index 80d84936..e777ba1a 100644 --- a/index.sh +++ b/index.sh @@ -26,8 +26,5 @@ sh ../utils/malware-url-top-domains.sh # Merge malware domains and URLs sh ../utils/urlhaus-filter.sh -# Commit the changes -sh ../utils/commit.sh - # Clean up the working folder cd ../ && rm -r tmp/