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

Update .gitlab-ci.yml

parent ae126d0f
......@@ -29,6 +29,8 @@ deploy_ftp:
- php composer.phar install --ignore-platform-reqs
script:
- cd ${PWD}
- echo ${PWD}
- ll
- rm -R .git/
- rm .bowerrc
- rm auth.json
......@@ -38,7 +40,7 @@ deploy_ftp:
- rm composer.json
- rm composer.lock
- rm composer.phar
- tar cvzf /tmp/${TARBALL_NAME} ${PWD}
- tar cvzf /tmp/${TARBALL_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