From 9f93af2369ffe93df37f871f1e2d820f9c934d7c Mon Sep 17 00:00:00 2001
From: Yannick Perret <yannick.perret@insa-lyon.fr>
Date: Tue, 20 Jul 2021 11:11:18 +0000
Subject: [PATCH] Add new file

---
 .gitlab-ci.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..1c5b53d
--- /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:"
-- 
GitLab