From 0cf82df411a9d83e27ff575a94d7dd0bb4a96335 Mon Sep 17 00:00:00 2001 From: Emre Ergin Date: Mon, 1 Jan 2024 14:42:25 +0300 Subject: [PATCH] path update --- .github/workflows/deployment.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 4d5621e..d964766 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -1,6 +1,9 @@ name: CI and Deployment -on: [push] +on: + push: + branches: + - main jobs: build: @@ -39,7 +42,7 @@ jobs: uses: actions/download-artifact@v2 with: name: app - path: ./temporaryfolder + path: temporaryfolder - name: copy file via ssh password uses: appleboy/scp-action@v0.1.7 with: @@ -47,7 +50,7 @@ jobs: username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} - source: ./temporaryfolder + source: temporaryfolder/* target: /home/${{ secrets.USERNAME }}/servers/belief/standalone - name: executing remote ssh commands using ssh key uses: appleboy/ssh-action@v1.0.2