diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 7c9e629..f6c3735 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -54,7 +54,7 @@ jobs: username: ${{ secrets.CI_DEPLOY_USER }} key: ${{ secrets.CI_DEPLOY_USER_SSH_PRIVATE_KEY }} source: "./${{ env.CI_JOB_ID }}" - target: "/home/${{ secrets.CI_DEPLOY_USER }}/${{ env.CI_JOB_ID }}" + target: "/home/${{ secrets.CI_DEPLOY_USER }}" - name: Execute server commands for deploy uses: appleboy/ssh-action@master diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 28e3661..b2c1545 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -55,7 +55,7 @@ jobs: username: ${{ secrets.CI_DEPLOY_USER }} key: ${{ secrets.CI_DEPLOY_USER_SSH_PRIVATE_KEY }} source: "./${{ env.CI_JOB_ID }}" - target: "/home/${{ secrets.CI_DEPLOY_USER }}/${{ env.CI_JOB_ID }}" + target: "/home/${{ secrets.CI_DEPLOY_USER }}" - name: Execute server commands for deploy uses: appleboy/ssh-action@master