From 25b75a925bac59083224b93f320e326094341f0b Mon Sep 17 00:00:00 2001 From: Andreas Hnida Date: Wed, 28 Feb 2024 06:04:15 +0000 Subject: [PATCH] excluded .gitlab-ci.yml von .gitignore --- .gitignore | 2 +- .gitlab-ci.yml | 38 -------------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitignore b/.gitignore index a408898..c2e6b39 100755 --- a/.gitignore +++ b/.gitignore @@ -24,7 +24,7 @@ yarn.lock netlify.toml vercel.json vercel-build.sh - +.gitlab-ci.yml # don't ignore public/php !public/php \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index fb785dc..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,38 +0,0 @@ -stages: - - build - -variables: - HUGO_ENV: production - HUGO_VERSION: "0.121.2" - GO_VERSION: "1.20.5" - NODE_VERSION: "18.16.1" - -cache: - paths: - - node_modules/ - -default: - image: node:${NODE_VERSION} - before_script: - - echo "USING NODE ${NODE_VERSION}" - - apt-get update && apt-get install -y curl - - curl -LO "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" - - tar -xvf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz - - mv hugo /usr/local/bin/ - - rm hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz - - echo "HUGO ${HUGO_VERSION} INSTALLED" - - curl -LO "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" - - tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz - - export PATH=$PATH:/usr/local/go/bin - - rm go${GO_VERSION}.linux-amd64.tar.gz - - echo "GO ${GO_VERSION} INSTALLED" - - npm install - -pages: - stage: build - script: - - npm run project-setup - - npm run build - artifacts: - paths: - - public