Loading jobs/pages/pages.yml +6 −2 Original line number Diff line number Diff line Loading @@ -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: Loading jobs/pages/versions/0.2.0.md 0 → 100644 +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 Loading
jobs/pages/pages.yml +6 −2 Original line number Diff line number Diff line Loading @@ -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: Loading
jobs/pages/versions/0.2.0.md 0 → 100644 +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