diff --git a/delete-inactive-environments.sh b/.ci-scripts/delete-inactive-environments.sh similarity index 100% rename from delete-inactive-environments.sh rename to .ci-scripts/delete-inactive-environments.sh diff --git a/remove-old-artifacts.sh b/.ci-scripts/remove-old-artifacts.sh similarity index 100% rename from remove-old-artifacts.sh rename to .ci-scripts/remove-old-artifacts.sh diff --git a/set-path-base.sh b/.ci-scripts/set-path-base.sh similarity index 100% rename from set-path-base.sh rename to .ci-scripts/set-path-base.sh diff --git a/update-artifacts.sh b/.ci-scripts/update-artifacts.sh similarity index 100% rename from update-artifacts.sh rename to .ci-scripts/update-artifacts.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 43f5a6ff05b480347bf8727249b8592b5db9b24a..0451a19c05688e99a74a5a6d6385b1cccbb5e43e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,9 @@ # keep this file slim and clear. please have a look at these scripts for # information that goes beyond the documentation of the single stages. # -# this config uses custom Docker images to keep the pipelines fast. -# see https://gitlab.gwdg.de/mrodzis/docker-images for more info about them. +# this config uses a custom Docker image to keep the pipelines fast. +# see https://gitlab.gwdg.de/mrodzis/docker-images/-/tree/main/alpine for more +# info about it. cache: paths: @@ -20,7 +21,7 @@ build_page: image: node:lts-alpine3.10 stage: build script: - - ash set-path-base.sh ${CI_COMMIT_REF_SLUG} + - ash .ci-scripts/set-path-base.sh ${CI_COMMIT_REF_SLUG} - npm i - node_modules/.bin/vuepress build src artifacts: @@ -35,8 +36,8 @@ pages: - job: build_page artifacts: true script: - - ash update-artifacts.sh - - ash remove-old-artifacts.sh + - ash .ci-scripts/update-artifacts.sh + - ash .ci-scripts/remove-old-artifacts.sh environment: name: ${CI_COMMIT_REF_SLUG} url: https://subugoe.pages.gwdg.de/ahiqar/website/${CI_COMMIT_REF_SLUG}/ @@ -74,4 +75,4 @@ remove_envs: - if: '$CI_COMMIT_BRANCH == "main"' - if: '$CI_COMMIT_MESSAGE =~ "Merge"' script: - - ash delete-inactive-environments.sh + - ash .ci-scripts/delete-inactive-environments.sh