Unverified Commit 0e01ff96 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

error in mv command

parent 8f9c4bb4
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -105,7 +105,6 @@ website:publish:
    - job: website:build
      artifacts: true
  script:
    - mv portal/target/site ~/site
    - |
      TARGET=~/site
      if [ -d "$TARGET" ]; then
@@ -114,5 +113,5 @@ website:publish:
        echo "Existing site backed up to ${TARGET}-${MODDATE}"
      fi
      mkdir -p "$TARGET"
      mv portal/target/site ~/site "$TARGET"
      cp -r portal/target/site/. "$TARGET/"
      echo "Fresh site copied to $TARGET"
 No newline at end of file