Commit d883abcb authored by Théo GUILLON's avatar Théo GUILLON

Update .gitlab-ci.yml

parent 70dc801b
......@@ -38,9 +38,9 @@ deploy_ftp:
- rm composer.json
- rm composer.lock
- rm composer.phar
- mkdir /var/www/web-dpo-${CI_COMMIT_REF_NAME}
- cp -R ${PWD} /var/www/web-dpo-${CI_COMMIT_REF_NAME}
- tar cvzf /tmp/${TARBALL_NAME} /var/www/web-dpo-${CI_COMMIT_REF_NAME}
- mkdir /web-dpo-${CI_COMMIT_REF_NAME}
- cp -R ${PWD} /web-dpo-${CI_COMMIT_REF_NAME}
- tar cvzf /tmp/${TARBALL_NAME} /web-dpo-${CI_COMMIT_REF_NAME}
- lftp -p 2222 -u "${RESSOURCE_LIBRICIEL_FTP_USER}","${RESSOURCE_LIBRICIEL_FTP_PASSWD}" "sftp://ressources.libriciel.fr/web-dpo" -e "put /tmp/${TARBALL_NAME}; bye"
- curl -i -X POST -d "$PAYLOAD" $MATTERMOST_WEBHOOK
......
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