Commit 1023db6f authored by Théo GUILLON's avatar Théo GUILLON

Update .gitlab-ci.yml

parent 13187942
......@@ -28,7 +28,17 @@ deploy_ftp:
- ln -s /usr/bin/nodejs /usr/bin/node
- php composer.phar install --ignore-platform-reqs
script:
- tar cvzf /tmp/${TARBALL_NAME} ${PWD}
- cd ${PWD}
- rm -R .git/
- rm .bowerrc
- rm auth.json
- rm bower.json
- rm .gitignore
- rm .gitlab-ci.yml
- rm composer.json
- rm composer.lock
- rm composer.phar
- tar cvzf /tmp/${TARBALL_NAME} web-DPO
- 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