Skip to content

Commit

Permalink
ci: fix path issue when scp
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed May 17, 2024
1 parent 744a7aa commit b70fb3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b70fb3d

Please sign in to comment.