ci: test
Some checks failed
Build and deploy to dev server / Deploy (push) Failing after 5s

This commit is contained in:
TomyJan 2024-09-04 11:52:08 +08:00
parent 075c41b7c1
commit a5f50592b5

View File

@ -32,7 +32,7 @@ jobs:
env: env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: '-rltgoDzvO --delete' ARGS: '-rltgoDzvO --delete'
SOURCE: dist # 这是要复制到阿里云静态服务器的文件夹名称 SOURCE: dist
REMOTE_HOST: '192.168.0.19' # 你的阿里云公网地址 REMOTE_HOST: '192.168.0.19'
REMOTE_USER: root # 阿里云登录后默认为 root 用户,并且所在文件夹为 root REMOTE_USER: root
TARGET: /var/www/test/ # 打包后的 dist 文件夹将放在 /root/node-server TARGET: /var/www/test/