Commit aa072e87 authored by Alexandr Dzehil's avatar Alexandr Dzehil 😎

Change ci file

parent 60b5af3d
image: dokku/ci-docker-image image: ilyasemenov/gitlab-ci-git-push
stages: stages:
- deploy - deploy
variables: variables:
GIT_DEPTH: 0
APP_NAME: cp-video APP_NAME: cp-video
APP_URL: 137.184.39.49 APP_URL: clutchpoints-video-test.4taps.me
deploy: deploy:
image: ilyasemenov/gitlab-ci-git-push
stage: deploy stage: deploy
environment: environment:
name: stages name: production
url: https://clutchpoints-video-test.4taps.me/ url: https://$APP_NAME.dokku.me/
tags:
- dokku
only: only:
- dev - master
variables:
GIT_REMOTE_URL: ssh://dokku@${APP_URL}:22/${APP_NAME}
DOKKU_DEPLOY_BRANCH: dev
before_script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
script: script:
- dokku-deploy - git-push ssh://dokku@$APP_URL:22/$APP_NAME
after_script: \ No newline at end of file
- dokku-unlock
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment