From 410a8c70360cc2ac2737baa5f05b6c530562c012 Mon Sep 17 00:00:00 2001 From: Laurent Fainsin Date: Wed, 29 Sep 2021 19:52:36 +0000 Subject: [PATCH] test .gitlab-ci.yml file --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml 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"