From e35ea61f2c1a2cac95ff44227eb52410b9146542 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Mon, 7 Oct 2024 12:46:46 +0000 Subject: [PATCH] Cleared .gitlab-ci.yml file --- .gitlab-ci.yml | 52 -------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f7e56da..e69de29b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,52 +0,0 @@ -image: node:18.20.0 - -build: - stage: build - cache: - - key: $CI_COMMIT_REF_SLUG - - paths: - - .yarn-cache/ - before_script: - - echo 'yarn-offline-mirror ".yarn-cache/"' >> .yarnrc - - echo 'yarn-offline-mirror-pruning true' >> .yarnrc - - apt-get update && apt-get install -y libpangocairo-1.0-0 - - yarn install --frozen-lockfile - - echo "$VITE_TEAM_NAME" - - echo "Environment variables:" - - printenv - - echo "Node version:" - - node -v - - echo "npm version:" - - npm -v - - echo "Installed packages:" - - yarn list - - script: - - yarn build - - mv dist public - rules: - - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - -pages: - stage: build - cache: - - key: - files: - - yarn.lock - paths: - - .yarn-cache/ - before_script: - - echo 'yarn-offline-mirror ".yarn-cache/"' >> .yarnrc - - echo 'yarn-offline-mirror-pruning true' >> .yarnrc - - apt-get update && apt-get install -y libpangocairo-1.0-0 - - yarn install --frozen-lockfile - script: - - yarn build - - mv dist public #Ensure the output directory is renamed to public - - echo '/* /index.html 200' > public/_redirects #original - artifacts: - paths: - - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH -- GitLab