diff options
author | 2018-09-04 22:23:38 +0200 | |
---|---|---|
committer | 2018-09-04 22:23:38 +0200 | |
commit | 3fc26ddfac87b8f1221e34b9e14054cf755de712 (patch) | |
tree | 3b5319a476b15cf566218487e5d32bcfb2bffb92 /scripts | |
parent | Use pipeline-readable job names. (diff) |
Remove unused files.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deploy-ci.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/deploy-ci.sh b/scripts/deploy-ci.sh deleted file mode 100755 index f5c965ca..00000000 --- a/scripts/deploy-ci.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Build and deploy on master branch -echo "Connecting to docker hub" -echo "$GITLAB_DOCKER_PASSWORD" | docker login --username "$GITLAB_DOCKER_USERNAME" --password-stdin registry.gitlab.com - -changed_lines=$(git diff HEAD~1 HEAD docker/base.Dockerfile | wc -l) - -if [ $changed_lines != '0' ]; then - echo "base.Dockerfile was changed" - - echo "Building CI container" - docker build -t registry.gitlab.com/python-discord/projects/site/django-base:latest -f docker/base.Dockerfile . - - echo "Pushing image to GitLab registry" - docker push registry.gitlab.com/python-discord/projects/site/django-base:latest -else - echo "base.Dockerfile was not changed, not building" -fi |