Remove gitlab CI template
This commit is contained in:
parent
3fe8d100a2
commit
4a8767a551
2 changed files with 0 additions and 22 deletions
10
README.md
10
README.md
|
@ -6,13 +6,3 @@ Archives the list of URLs provided on the standard input.
|
||||||
go build
|
go build
|
||||||
pad-archiver < pads.txt
|
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.
|
|
||||||
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue