ci: enable commit push

This commit is contained in:
MDLeom 2020-07-05 12:08:52 +01:00
parent aa8fc238d6
commit 3679da5b21
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ deploy_job:
- ssh -T git@gitlab.com
- git remote set-url origin git@gitlab.com:curben/phishing-filter.git
# - git push origin master
- git push origin master
rules:
# Only trigger through schedule job in master branch
@ -73,7 +73,7 @@ failed_job:
- git diff-index --quiet HEAD || git commit -m "Failed pipeline"
- ssh -T git@gitlab.com
- git remote set-url origin git@gitlab.com:curben/phishing-filter.git
# - git push origin master
- git push origin master
rules:
- if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"'