diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6bb2ceb5d394096fe846ca08d955a81bd6ceee0..ea910d2fb4f92ee39ce750d761cd889081724e69 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