Skip to content
Snippets Groups Projects
Commit 71479c1e authored by Michelle Weidling's avatar Michelle Weidling :blowfish:
Browse files

ci: move CI scripts to separate dir

parent aaf46925
No related branches found
No related tags found
1 merge request!18Feature/#45 ci add docs
Pipeline #202598 passed
File moved
File moved
File moved
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment