ref: master
./.build.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
image: alpine/3.14 packages: - rsync - git environment: remote: packager@guara.eletrotupi.com sources: - https://git.sr.ht/~porcellis/pacotes.eletrotupi.com secrets: - eb365c2d-acc8-4f9b-977a-720bac44419c tasks: - setup: | cd pacotes.eletrotupi.com git diff-tree --no-commit-id --name-only -r HEAD pkgs/ | cut -d'/' -f2 | tr '\n' ' ' > ../mod - deploy: | echo "StrictHostKeyChecking=no" >> ~/.ssh/config ssh $remote apkbuilder build $(cat mod) |