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

Merge branch 'test-deploy' into 'dev'

Change ci file

See merge request !24
parents 67bb49c0 fae4fafc
Pipeline #6884 failed with stage
in 11 seconds
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_URL: 137.184.39.49
deploy: deploy:
image: ilyasemenov/gitlab-ci-git-push
stage: deploy stage: deploy
environment:
name: production
url: https://clutchpoints-video-test.4taps.me/
tags:
- dokku
only: only:
- dev - dev
variables: variables:
GIT_REMOTE_URL: ssh://dokku@137.184.39.49:22/cp-video
BRANCH: dev BRANCH: dev
script: script:
- dokku-deploy - echo "Текущая директория:"
after_script: - pwd
- dokku-unlock - echo "Список файлов в корневой директории контейнера:"
\ No newline at end of file - ls -lah /
- git-push ssh://dokku@$APP_URL:22/$APP_NAME $BRANCH
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