diff options
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ada33d1..4308bb11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ before_script: stages: - test - - build + - deploy test: tags: @@ -36,6 +36,7 @@ test: cache: paths: - ".venv" + - ".gem" script: - apk add --update ruby ruby-dev ruby-rdoc ruby-irb @@ -47,14 +48,18 @@ test: - pipenv run python gunicorn_config.py - pipenv run test -build: +deploy: tags: - docker services: - docker:dind - stage: build + stage: deploy script: - apk add docker curl - sh scripts/deploy.sh + + environment: + name: Production + url: https://pythondiscord.com
\ No newline at end of file |