Skip to content

Commit

Permalink
(Testing Github Actions) Add move script
Browse files Browse the repository at this point in the history
  • Loading branch information
aSouchereau committed May 29, 2024
1 parent 4d2e439 commit 318f046
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ jobs:
tar_tmp_path: "/home/souch/tmp/"
source: "."
target: "/home/souch/html/souchca"

- name: Move Files to Correct DIR
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEPLOY_SSH_HOST }}
username: ${{ secrets.DEPLOY_SSH_USERNAME }}
port: ${{ secrets.DEPLOY_SSH_PORT }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
script: mv /home/souch/html/souchca /var/www/html/souchca

0 comments on commit 318f046

Please sign in to comment.