also define branch

This commit is contained in:
Johannes Jöns 2023-08-23 21:50:41 +02:00
parent faeb975329
commit d8a56dbc1c

View file

@ -12,9 +12,9 @@
systemd.services."repo-sync" = { systemd.services."repo-sync" = {
script = '' script = ''
${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r codeberg ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r codeberg/main
${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r github ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r github/main
${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r gitlab ${pkgs.git}/bin/git -C /var/lib/repo-sync pull -r gitlab/main
${pkgs.git}/bin/git -C /var/lib/repo-sync push origin ${pkgs.git}/bin/git -C /var/lib/repo-sync push origin
''; '';
path = [pkgs.openssh]; path = [pkgs.openssh];