2021-09-29 19:52:36 +00:00
|
|
|
stages:
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
Deploy:
|
|
|
|
image: alpine
|
|
|
|
stage: deploy
|
|
|
|
before_script:
|
2021-10-03 19:47:42 +00:00
|
|
|
- apk add subversion
|
2021-09-29 19:52:36 +00:00
|
|
|
script:
|
2021-10-03 19:55:40 +00:00
|
|
|
- svn co http://cregut.svn.enseeiht.fr/2021/2sn/idm/mp/M-02 --username lfainsin --password '$SVN_PASSWORD' svn_repo
|
2021-10-03 19:47:42 +00:00
|
|
|
- cd svn_repo
|
2021-09-29 19:52:36 +00:00
|
|
|
- svn up
|
2021-10-03 19:47:42 +00:00
|
|
|
- cp ../livrables/* livrables/
|
2021-09-29 19:52:36 +00:00
|
|
|
- svn add * --force
|
|
|
|
- svn commit -m "$CI_COMMIT_SHORT_SHA"
|