From aea87027db92fae98a494f5f22943da83c4b3885 Mon Sep 17 00:00:00 2001 From: June Date: Fri, 1 May 2026 23:55:51 +0200 Subject: [PATCH] ci: remove old GitLab CI config as we now use Forgejo Actions --- .gitlab-ci.yml | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index fb3fe53..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,38 +0,0 @@ -variables: - TZ: Europe/Berlin - -stages: - - build - - deploy - -build-website: - stage: build - image: registry.gitlab.com/pages/hugo/hugo_extended:latest - before_script: - - apk update - - apk add tzdata coreutils curl jq git - script: - - ./fetch-calendar.sh - - sed -i "s#baseURL = 'https://hamburg.ccc.de/'#baseURL = 'https://next.hamburg.ccc.de/'#" hugo.toml - - hugo - artifacts: - untracked: true - expose_as: "website build" - name: "website-build-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA" - paths: - - public/ - expire_in: 1 hrs - -deploy-website: - stage: deploy - image: alpine - before_script: - - apk update - - apk add rsync openssh - script: - - chmod 400 $NEXT_SSH_DEPLOY_KEY - - rsync -r --delete -e "ssh -i $NEXT_SSH_DEPLOY_KEY -o 'UserKnownHostsFile $SSH_KNOWN_HOSTS_FILE'" public/ ccchh-website-deploy@public-web-static-intern.hamburg.ccc.de:/var/www/next.hamburg.ccc.de/ - rules: - - if: $CI_COMMIT_BRANCH == "main" - when: on_success - - when: never