diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..1c5b53d7aeb8c4764679995bfe0b3e882d3a9903 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +deploy1: + stage: deploy + image: cibuilds/hugo + tags: + - liris,docker,linux + variables: + GIT_STRATEGY: recursive + before_script: + - mkdir -p ~/.ssh + - chmod 700 ~/.ssh + - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts + - chmod 600 ~/.ssh/known_hosts + - eval $(ssh-agent -s) + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + script: + - rsync -az public/ "yperret@connect.liris.cnrs.fr:"