From 8d3a5f3dd117788e559aee1b356ab3d944a60eb4 Mon Sep 17 00:00:00 2001 From: Dmytro Bogatov <dmytro@dbogatov.org> Date: Wed, 17 Oct 2018 20:43:54 -0400 Subject: [PATCH] Fix. --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e43154..cfde60d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ tidy: image: dbogatov/docker-images:tidy-latest stage: test before_script: - - http-server -p 8080 > /dev/null & + - http-server ./website -p 8080 > /dev/null & - sleep 5 script: - curl -Ls http://localhost:8080/index.html | tidy -e @@ -17,7 +17,7 @@ blc: image: dbogatov/docker-images:blc-latest stage: test before_script: - - http-server -p 8080 > /dev/null & + - http-server ./website -p 8080 > /dev/null & - sleep 5 script: - blc --filter-level 3 --input http://localhost:8080/index.html -rog --exclude "*linkedin.*" --exclude *facebook.* | tee blc.out @@ -39,8 +39,7 @@ pages: image: dbogatov/docker-images:alpine-extras-latest stage: release script: - - mkdir public/ - - mv assets/ *.html public/ + - mv website public - echo "Uploading files to pages" artifacts: expire_in: 30 min -- GitLab