Loading .gitlab-ci.yml +1 −2 Original line number Diff line number Diff line Loading @@ -105,7 +105,6 @@ website:publish: - job: website:build artifacts: true script: - mv portal/target/site ~/site - | TARGET=~/site if [ -d "$TARGET" ]; then Loading @@ -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 Loading
.gitlab-ci.yml +1 −2 Original line number Diff line number Diff line Loading @@ -105,7 +105,6 @@ website:publish: - job: website:build artifacts: true script: - mv portal/target/site ~/site - | TARGET=~/site if [ -d "$TARGET" ]; then Loading @@ -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