C# software to manage custom archlinux AUR repos https://repomgr.zotan.services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

8 lines
290 B

#!/bin/bash
git add .
git commit -a
git push
dotnet publish -c Release -r linux-x64
scp $(pwd)/bin/Release/netcoreapp3.1/linux-x64/publish/repomgr replicator:/usr/local/bin
ssh replicator "bash -c 'cd /opt/repomgr_git && git pull'"
ssh replicator "bash -c 'sudo systemctl restart repomgr'"