Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cp_video_dokku
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Dzehil
cp_video_dokku
Commits
285f7782
Commit
285f7782
authored
Feb 10, 2025
by
Alexandr Dzehil
😎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change ci file
parent
b319fcc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
.gitlab-ci.yml
.gitlab-ci.yml
+7
-25
No files found.
.gitlab-ci.yml
View file @
285f7782
image
:
ilyasemenov/gitlab-ci-git-push
image
:
dokku/ci-docker-image
stages
:
-
deploy
variables
:
APP_NAME
:
cp-video
APP_URL
:
137.184.39.49
GIT_DEPTH
:
0
deploy
:
image
:
ilyasemenov/gitlab-ci-git-push
stage
:
deploy
environment
:
name
:
production
url
:
https://clutchpoints-video-test.4taps.me/
tags
:
-
dokku
only
:
-
dev
variables
:
GIT_REMOTE_URL
:
ssh://dokku@137.184.39.49:22/cp-video
BRANCH
:
dev
script
:
-
echo "Текущая директория:"
-
pwd
-
echo "Список файлов в корневой директории контейнера:"
-
ls -lah /
-
echo "Поиск git-push в системе:"
-
find / -name "git-push" 2>/dev/null
-
echo "Переменная PATH:"
-
echo $PATH
-
echo "Поиск git-push в PATH:"
-
command -v git-push || echo "git-push не найден в PATH"
-
echo "Попытка запустить напрямую из /usr/bin или /usr/local/bin (если найден):"
-
/usr/bin/git-push ssh://dokku@$APP_URL:22/$APP_NAME $BRANCH || echo "Не удалось запустить из /usr/bin"
-
/usr/local/bin/git-push ssh://dokku@$APP_URL:22/$APP_NAME $BRANCH || echo "Не удалось запустить из /usr/local/bin"
script
:
-
dokku-deploy
after_script
:
-
dokku-unlock
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment