Remove gitlab CI template

This commit is contained in:
Tim Schubert 2023-05-28 19:06:34 +02:00
parent 3fe8d100a2
commit 4a8767a551
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 0 additions and 22 deletions

View file

@ -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.

View file

@ -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