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 host: 194.182.190.208
username: ubuntu username: ubuntu
key: ${{ secrets.PRODUCTION_SSH_KEY }} 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" target: "~/backend"
overwrite: true
- name: Copy Frontend - name: Copy Frontend
uses: appleboy/scp-action@v0.1.4 uses: appleboy/scp-action@v0.1.4
@ -34,8 +35,9 @@ jobs:
host: 194.182.190.208 host: 194.182.190.208
username: ubuntu username: ubuntu
key: ${{ secrets.PRODUCTION_SSH_KEY }} key: ${{ secrets.PRODUCTION_SSH_KEY }}
source: "${{ gitea.workspace }}/typescript/frontend-marios2/" source: "${{ gitea.workspace }}/typescript/frontend-marios2/*"
target: "~/frontend" target: "~/frontend"
overwrite: true
- name: restart services - name: restart services
uses: appleboy/ssh-action@v0.1.4 uses: appleboy/ssh-action@v0.1.4

View File

@ -25,8 +25,9 @@ jobs:
host: 91.92.154.141 host: 91.92.154.141
username: ubuntu username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }} 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" target: "~/backend"
overwrite: true
- name: Copy Frontend - name: Copy Frontend
uses: appleboy/scp-action@v0.1.4 uses: appleboy/scp-action@v0.1.4
@ -34,8 +35,9 @@ jobs:
host: 91.92.154.141 host: 91.92.154.141
username: ubuntu username: ubuntu
key: ${{ secrets.STAGING_SSH_KEY }} key: ${{ secrets.STAGING_SSH_KEY }}
source: "${{ gitea.workspace }}/typescript/frontend-marios2/" source: "${{ gitea.workspace }}/typescript/frontend-marios2/*"
target: "~/frontend" target: "~/frontend"
overwrite: true
- name: restart services - name: restart services
uses: appleboy/ssh-action@v0.1.4 uses: appleboy/ssh-action@v0.1.4