fix paths

This commit is contained in:
Kim 2023-11-06 16:19:24 +01:00
parent 34b21fa7ae
commit 6b8142b8d8
2 changed files with 9 additions and 5 deletions

View File

@ -25,8 +25,9 @@ jobs:
host: 194.182.190.208
username: ubuntu
key: ${{ secrets.PRODUCTION_SSH_KEY }}
source: "${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/"
source: "${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/*"
target: "~/backend"
overwrite: true
- name: Copy Frontend
uses: appleboy/scp-action@v0.1.4
@ -34,8 +35,9 @@ jobs:
host: 194.182.190.208
username: ubuntu
key: ${{ secrets.PRODUCTION_SSH_KEY }}
source: "${{ gitea.workspace }}/typescript/frontend-marios2/"
source: "${{ gitea.workspace }}/typescript/frontend-marios2/*"
target: "~/frontend"
overwrite: true
- name: restart services
uses: appleboy/ssh-action@v0.1.4

View File

@ -25,17 +25,19 @@ jobs:
host: 91.92.154.141
username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }}
source: "${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/"
source: "${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/*"
target: "~/backend"
overwrite: true
- name: Copy Frontend
uses: appleboy/scp-action@v0.1.4
with:
host: 91.92.154.141
username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }}
source: "${{ gitea.workspace }}/typescript/frontend-marios2/"
source: "${{ gitea.workspace }}/typescript/frontend-marios2/*"
target: "~/frontend"
overwrite: true
- name: restart services
uses: appleboy/ssh-action@v0.1.4