projet-mini-genie-logiciel-.../.gitlab-ci.yml

17 lines
378 B
YAML
Raw Normal View History

2021-09-29 19:52:36 +00:00
stages:
- deploy
Deploy:
image: alpine
stage: deploy
when: manual
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:47:42 +00:00
- svn co http://cregut.svn.enseeiht.fr/2021/2sn/idm/mp/M-02 --username lfainsin --password "$SVN_PASSWORD" svn_repo
- 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"