fix(ci): order matters
This commit is contained in:
parent
35176c3271
commit
328b235077
@ -41,8 +41,8 @@ deploy_stage:
|
|||||||
script:
|
script:
|
||||||
# deploy application and server configuration
|
# 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}/ 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/
|
#- rsync --archive --delete ${CI_PROJECT_DIR}/cnf/ ${DEPLOY_USER}@${DEPLOY_SERVER}:~/cnf/
|
||||||
|
|
||||||
# restart Node.js and reload nginx configuration
|
# restart Node.js and reload nginx configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user