7 lines
223 B
Bash
7 lines
223 B
Bash
#!/bin/bash
|
|
git add .
|
|
git commit -a
|
|
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'"
|