Commit 70dc801b authored by Théo GUILLON's avatar Théo GUILLON

Update .gitlab-ci.yml

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