diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8359bdb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +stages: +- deploy + +Deploy: + image: alpine + stage: deploy + when: manual + before_script: + - apk add subversion findutils + script: + - svn co http://cregut.svn.enseeiht.fr/2021/2sn/idm/mp/M-02 --username lfainsin --password $SVN_PASSWORD svn_repo + - svn up + - cp livrables/* svn_repo/ + - svn add * --force + - svn commit -m "$CI_COMMIT_SHORT_SHA"