README.md 544 Bytes
Newer Older
Tim Schubert's avatar
Tim Schubert committed
1
2
# pad-archiver

Tim Schubert's avatar
Tim Schubert committed
3
Archives the list of URLs provided on the standard input.
dadada's avatar
dadada committed
4

Tim Schubert's avatar
Tim Schubert committed
5
```shell
dadada's avatar
dadada committed
6
7
go build
pad-archiver < pads.txt
dadada's avatar
dadada committed
8
```
Tim Schubert's avatar
Tim Schubert committed
9
10
11
12

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
dadada's avatar
dadada committed
13
include:
dadada's avatar
dadada committed
14
  - project: 'fginfo/pad-archiver'
dadada's avatar
dadada committed
15
16
    file: 'lib/gitlab-ci.yml'
```
dadada's avatar
dadada committed
17

Tim Schubert's avatar
Tim Schubert committed
18
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.