Commit 9c6e6b76 authored by Alberto Debiasi's avatar Alberto Debiasi
Browse files

Update .gitlab-ci.yml file

parent f0aea9d2
......@@ -76,10 +76,10 @@ before_script:
- echo "- Discarding the previous update site"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mkdir -p $DEPLOY_TMP_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mkdir -p $DEPLOY_TMP_DIR/$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "rm -rf $DEPLOY_TMP_DIR/$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mkdir -p $DEPLOY_TMP_DIR/SDE_Updatesite$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "rm -rf $DEPLOY_TMP_DIR/SDE_Updatesite$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mkdir -p $UPDATE_SITE_DIR_PREV"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mv -f $UPDATE_SITE_DIR_PREV $DEPLOY_TMP_DIR/$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mv -f $UPDATE_SITE_DIR_PREV $DEPLOY_TMP_DIR/SDE_Updatesite$UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR"
- echo "- Moving current update site to previous update site"
- ssh -o StrictHostKeyChecking=no $UPDATE_SITE_URL "mkdir -p $UPDATE_SITE_DIR ; mv -f $UPDATE_SITE_DIR /$UPDATE_SITE_DIR_PREV"
......
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