No description
Find a file
2023-05-29 00:02:38 +02:00
.github ci: fix image tag 2023-05-28 18:48:41 +02:00
nix flake: add docker image 2023-05-28 17:19:53 +02:00
.envrc add flake 2022-05-22 22:31:06 +02:00
.gitignore update docker and ci files 2022-05-22 22:32:34 +02:00
.gitlab-ci.yml remove redundant job 2022-05-23 17:36:47 +02:00
flake.lock flake.lock: Update 2023-04-14 18:18:09 +02:00
flake.nix Enable use in GitLab CI 2023-05-28 21:05:25 +02:00
go.mod Move project to GitHub 2023-05-25 16:24:00 +02:00
go.sum update go modules 2023-04-14 18:26:32 +02:00
LICENSE fix LICENSE file 2022-05-21 12:25:05 +02:00
main.go Enable specifying git password via env file 2023-05-29 00:02:38 +02:00
README.md Update README 2023-05-28 23:49:03 +02:00

pad-archiver

Archives the list of URLs provided on the standard input.

Usage of /bin/pad-archiver:
  -C string
        git directory (default "/repo")
  -password string
        password
  -push
        push repository to remote
  -url string
        url of remote
  -username string
        username
go build
pad-archiver < pads.txt

Examples

Using in GitLab CI

Archive pads:
  image: ghcr.io/dadada/pad-archiver
  rules:
    - if: $CI_PIPELINE_SOURCE == "schedule"
  script:
    - --push --url "${CI_PROJECT_URL}.git" --username gitlab-ci-token --password "${CI_ACCESS_TOKEN}" < pads.txt

As a GitHub action

TODO