From 74b2387053a747d83711b91f34108ce65fb60c56 Mon Sep 17 00:00:00 2001 From: Alexandre MEYER <alexandre.meyer@univ-lyon1.fr> Date: Thu, 17 Nov 2022 16:43:17 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6bb2ce..ea910d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,20 @@ # The Docker image that will be used to build your app image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest + +test: + script: + - pwd + - cd web + - hugo + - mv public ../public + - ls -la .. + - ls -la ../public + - chmod 755 ../public + - chmod 644 ../public/index.html + except: + - master + pages: script: - cd web @@ -13,16 +27,4 @@ pages: - master -# test: -# script: -# - pwd -# - cd web -# - hugo -# - mv public ../public -# - ls -la .. -# - ls -la ../public -# - chmod 755 ../public -# - chmod 644 ../public/index.html -# except: -# - master -- GitLab