Skip to content

Commit a97e0b3

Browse files
authored
Update nodejs.yml
1 parent d22b51b commit a97e0b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ jobs:
4848
username: ${{ secrets.FTP_USERNAME }}
4949
server: ${{ secrets.FTP_SERVER }}
5050
port: ${{ secrets.FTP_PORT }}
51-
local_path: 'docs/.vuepress/dist/'
52-
remote_path: '/'
51+
local_path: './docs/.vuepress/dist'
52+
remote_path: "/home/${{ secrets.FTP_USERNAME }}"
5353
sftp_only: true
5454
password: ${{ secrets.FTP_PASSWORD }}
55+
rsyncArgs: '--exclude=node_modules --exclude=.git --exclude=*.log'
56+
sftpArgs: '-o ConnectTimeout=5'
5557

5658
# - name: 📂 Sync files
5759
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5

0 commit comments

Comments
 (0)