From 4a8767a551fcb725436a2934267798074ff51712 Mon Sep 17 00:00:00 2001 From: dadada Date: Sun, 28 May 2023 19:06:34 +0200 Subject: [PATCH] Remove gitlab CI template --- README.md | 10 ---------- lib/gitlab-ci.yml | 12 ------------ 2 files changed, 22 deletions(-) delete mode 100644 lib/gitlab-ci.yml diff --git a/README.md b/README.md index 64d5c53..c2a9acf 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,3 @@ Archives the list of URLs provided on the standard input. go build pad-archiver < pads.txt ``` - -The CI-config in `lib/gitlab-ci.yml` can be used in your project by including the following at the top of your project's `.gitlab-ci.yml`. - -```yaml -include: - - https://raw.githubusercontent.com/dadada/pad-archiver/main/lib/gitlab-ci.yml -``` - -The project that includes the CI configuration has to provide the environment variable `CI_ACCESS_TOKEN`. -The variable must contain a project access token that can push commits to your project. diff --git a/lib/gitlab-ci.yml b/lib/gitlab-ci.yml deleted file mode 100644 index 2913f2f..0000000 --- a/lib/gitlab-ci.yml +++ /dev/null @@ -1,12 +0,0 @@ -stages: - - update - -update: - image: dadada/pad-archiver - tags: - - docker - stage: update - rules: - - if: $CI_PIPELINE_SOURCE == "schedule" - script: - - pad-archiver --push --url "${CI_PROJECT_URL}.git" --username gitlab-ci-token --password "${CI_ACCESS_TOKEN}" < pads.txt