Commit 299f16b7 authored by Alexandr Dzehil's avatar Alexandr Dzehil 😎

Change ci file

parent eb0b185f
Pipeline #7141 failed with stage
in 6 seconds
......@@ -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
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