Skip to content

Commit

Permalink
Try to upload to var html
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikthepixel committed Mar 19, 2024
1 parent 3db69c7 commit f55429c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@ jobs:
echo "Current dir"
pwd
ls -la
echo "var html"
ls -la /var/www/html
echo "Target dir"
cd ${{ env.VPS_TARGET_DIR }}
pwd
ls -la ${{ env.VPS_TARGET_DIR }}
- name: Sync node version and setup cache
uses: actions/setup-node@v4
with:
Expand All @@ -52,6 +56,6 @@ jobs:
HOST: ${{ secrets.VPS_HOST }}
KEY: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
SOURCE: "./www"
TARGET: "/home/website/thenewoil/www"
TARGET: "/var/www/html"
ARGS: '-z -r -v -l -t --delete-after'

0 comments on commit f55429c

Please sign in to comment.