~sircmpwn/sr.ht-pkgbuilds

ref: eb016e0678dcb7c4643a8b42e39f7df7ef3b683f sr.ht-pkgbuilds/build.yml -rw-r--r-- 719 bytes View raw
eb016e06Eli Schwartz git.sr.ht: upgrade to latest version and add the API service 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: archlinux
repositories:
  sr.ht: https://mirror.sr.ht/archlinux/sr.ht/#C0AAFC1676BD998617C94C42DC59670F1EB0A189
packages:
  - rsync
  - pacman-contrib
environment:
  remote: deploy@mirror.sr.ht
  remote_path: /var/www/mirror.sr.ht/archlinux/
  repo: sr.ht
  packages: []
sources:
  - https://git.sr.ht/~sircmpwn/sr.ht-pkgbuilds
secrets:
  - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 # ssh deploy key
  - af47c6cd-75b8-4ba8-8086-fb548750160d # package signing key
tasks:
  - build: |
      cd sr.ht-pkgbuilds
      ./pkgkit build -ciu "${packages[@]}"
  - deploy: |
      cd sr.ht-pkgbuilds
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      ./pkgkit upload "$remote" "$remote_path" "$repo" "${packages[@]}"