diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6edca90..54791cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,8 @@ deploy_stage: script: # deploy application and server configuration - - cat ${ENV_FILE} | ssh rockfic@${DEPLOY_SERVER} 'cat > rockfic-staging/.env' + # - "cat ${ENV_FILE} | ssh rockfic@${DEPLOY_SERVER} 'cat > ~/rockfic-staging/.env'" + - "scp ${ENV_FILE} rockfic@${DEPLOY_SERVER}:rockfic-staging/" - rsync --archive --delete ${CI_PROJECT_DIR}/ rockfic@${DEPLOY_SERVER}:~/rockfic-staging/ #- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/