chmod +x the deploy scripts

This commit is contained in:
Kim 2023-10-23 15:38:19 +02:00
parent 37603e501e
commit 5b272b4647
2 changed files with 0 additions and 2 deletions

1
.gitea/Prod-deploy.sh Normal file → Executable file
View File

@ -1,5 +1,4 @@
#/bin/bash
rsync -av ${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@194.182.190.208:~/backend
ssh ubuntu@194.182.190.208 'sudo systemctl restart backend'
rsync -av ${{ gitea.workspace }}/typescript/frontend-marios2/* ubuntu@194.182.190.208:~/frontend/

1
.gitea/Stage-deploy.sh Normal file → Executable file
View File

@ -1,5 +1,4 @@
#/bin/bash
rsync -av ${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@91.92.154.141:~/backend
ssh ubuntu@91.92.154.141 'sudo systemctl restart backend'
rsync -av ${{ gitea.workspace }}/typescript/frontend-marios2/* ubuntu@91.92.154.141:~/frontend/