fix paths
This commit is contained in:
parent
34b21fa7ae
commit
6b8142b8d8
|
@ -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
|
||||||
|
|
|
@ -25,17 +25,19 @@ 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
|
||||||
with:
|
with:
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue