2021-09-29 19:52:36 +00:00
|
|
|
stages:
|
|
|
|
- deploy
|
|
|
|
|
|
|
|
Deploy:
|
|
|
|
image: alpine
|
|
|
|
stage: deploy
|
2021-10-03 20:18:13 +00:00
|
|
|
when: manual
|
2021-09-29 19:52:36 +00:00
|
|
|
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 20:18:13 +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-10-10 12:01:40 +00:00
|
|
|
- cp -L ../livrables/* livrables/
|
2021-09-29 19:52:36 +00:00
|
|
|
- svn add * --force
|
2021-10-10 12:19:54 +00:00
|
|
|
- svn commit -m "$CI_COMMIT_SHORT_SHA" --password $SVN_PASSWORD
|