Commit aeece33f authored by Alexandre Burgoni's avatar Alexandre Burgoni
Browse files

Updating Pages job to 0.2.0

parent 1a76e0ae
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -8,7 +8,11 @@ pages:
  variables:
    PAGES_BUILD_PATH: 'documentation_build/'
  script:
    - if [ "$PAGES_BUILD_PATH" != "public" -a "$PAGES_BUILD_PATH" != "public/" ]; then mv "$PAGES_BUILD_PATH" public; fi
    - if [ "$PAGES_BUILD_PATH" != "public" -a "$PAGES_BUILD_PATH" != "public/" ]; then 
    -   if [ -d "public" ]; then rm -rf public; fi
    -   mv "$PAGES_BUILD_PATH" public 
    - fi

    - if [ ! -d "public" ]; then echo "Nothing to deploy"; exit 1; fi
  artifacts:
    paths:
+1 −0
Original line number Diff line number Diff line
* Fix files aggregation for folder `public` in some case instead of creating the folder with the documentation
 No newline at end of file