diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 5d171b0..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -image: node:lts - -variables: - HUGO_VERSION: "0.79.0" - GIT_SUBMODULE_STRATEGY: recursive - -stages: - - test - - deploy - -cache: - key: ${CI_COMMIT_REF_SLUG} - paths: - - .npm - - .cache - -before_script: - - apt-get update && apt-get install -y curl - - curl -Lo /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb - - dpkg -i /tmp/hugo.deb - - touch .env - - npm ci --cache .npm --prefer-offline - -test: - stage: test - script: - - ./scripts/test.sh - -pages: - stage: deploy - script: - - ./scripts/release.sh - artifacts: - paths: - - public - only: - - master