Skip to content
Snippets Groups Projects
Commit d59ecce1 authored by mathias.chouet's avatar mathias.chouet
Browse files

Update .gitlab-ci configurationuse SSH key from GitLab

parent 48f47505
No related branches found
No related tags found
No related merge requests found
Pipeline #138156 passed
......@@ -10,13 +10,20 @@ stages:
variables:
LC_ALL: C.UTF-8
ANDROID_HOME: "/opt/android"
ANDROID_SDK_ROOT: "/opt/android"
ANDROID_HOME: "/usr/local/android-sdk" # should already be defined in the Docker image
ANDROID_SDK_ROOT: "/usr/local/android-sdk" # should already be defined in the Docker image
DEPLOY_HOST_LOGIN: "nghyd@aubes"
DEPLOY_URL: "/var/www/html/cassiopee"
DEPLOY_STABLE_URL: "/var/www/cassiopee-production"
RELEASES_URL: "$DEPLOY_STABLE_URL/cassiopee-releases"
before_script:
# load private key from GitLab CI variable, to deploy on Aubes server
- eval $(ssh-agent -s)
- ssh-add <(echo "$AUBES_B64_AUTHORIZED_SSH_PRIVATE_KEY" | base64 -d)
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
cache:
paths:
- node_modules/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment