path tombfollery

This commit is contained in:
Kim 2023-11-06 16:34:48 +01:00
parent 9a544503e9
commit 804bc4c660
2 changed files with 11 additions and 7 deletions

View File

@ -25,9 +25,10 @@ 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
strip_components: 1
- name: Copy Frontend
uses: appleboy/scp-action@v0.1.4
@ -35,9 +36,10 @@ 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
strip_components: 1
- name: restart services
uses: appleboy/ssh-action@v0.1.4

View File

@ -25,9 +25,10 @@ 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/*"
target: "~/backend"
overwrite: true
source: "${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/"
target: "~/backend/"
overwrite: true
strip_components: 1
- name: Copy Frontend
uses: appleboy/scp-action@v0.1.4
@ -35,9 +36,10 @@ jobs:
host: 91.92.154.141
username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }}
source: "${{ gitea.workspace }}/typescript/frontend-marios2/*"
target: "~/frontend"
source: "${{ gitea.workspace }}/typescript/frontend-marios2/"
target: "~/frontend/"
overwrite: true
strip_components: 1
- name: restart services
uses: appleboy/ssh-action@v0.1.4