update upload script
This commit is contained in:
parent
5b0b3dfbf3
commit
f26dd50d52
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
git add .
|
git add .
|
||||||
git commit -a
|
git commit -a
|
||||||
|
git push
|
||||||
dotnet publish -c Release -r linux-x64
|
dotnet publish -c Release -r linux-x64
|
||||||
scp $(pwd)/bin/Release/netcoreapp3.1/linux-x64/publish/repomgr replicator:/usr/local/bin
|
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 'cd /opt/repomgr_git && git pull'"
|
||||||
|
|
Loading…
Reference in a new issue