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
299f16b7
Commit
299f16b7
authored
Mar 21, 2025
by
Alexandr Dzehil
😎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change ci file
parent
eb0b185f
Pipeline
#7141
failed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
.gitlab-ci.yml
.gitlab-ci.yml
+7
-3
No files found.
.gitlab-ci.yml
View file @
299f16b7
...
...
@@ -8,6 +8,7 @@ variables:
APP_NAME
:
cp-video
APP_URL
:
137.184.39.49
TRACE
:
"
1"
GIT_REMOTE_URL
:
"
dokku@137.184.39.49:cp-video"
deploy
:
stage
:
deploy
...
...
@@ -20,12 +21,15 @@ deploy:
-
dev
variables
:
BRANCH
:
dev
script
:
before_
script
:
-
mkdir -p ~/.ssh
-
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
-
chmod 600 ~/.ssh/id_ed25519
-
ssh-keyscan -H 137.184.39.49 >> ~/.ssh/known_hosts
script
:
-
echo "GIT_REMOTE_URL=${GIT_REMOTE_URL}"
-
echo "BRANCH=${BRANCH}"
-
echo "commit_sha=$(git rev-parse HEAD)"
-
ssh -vvv dokku@137.184.39.49 -p 22
-
dokku-deploy
after_script
:
[
dokku-unlock
]
after_script
:
-
dokku-unlock ||
true
\ 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