diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54791cc..2291fa4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,8 +41,8 @@ deploy_stage: script: # deploy application and server configuration # - "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/ + - "scp ${ENV_FILE} rockfic@${DEPLOY_SERVER}:rockfic-staging/" #- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/ # restart Node.js and reload nginx configuration