更新 .gitea/workflows/youzi.yml

This commit is contained in:
kongxiangyiren 2024-05-22 08:35:35 +00:00
parent 57600e768f
commit 1dd6594b37

View File

@ -29,7 +29,8 @@ jobs:
with: with:
host: ${{ secrets.USER_HOST }} # 服务器地址: xxx.xxx.xxx.xxx host: ${{ secrets.USER_HOST }} # 服务器地址: xxx.xxx.xxx.xxx
username: ${{ secrets.USER_NAME }} # 服务器名字 一般是root username: ${{ secrets.USER_NAME }} # 服务器名字 一般是root
key: ${{ secrets.SERVER_SSH_KEY }} # 服务器连接密钥 # key: ${{ secrets.SERVER_SSH_KEY }} # 服务器连接密钥
password: ${{ secrets.SERVER_PASSWORD }} # 服务器连接密钥
source: './dist/' # 拷贝文件目录 source: './dist/' # 拷贝文件目录
target: ${{ secrets.USER_TARGET }} # 服务器目标目录 target: ${{ secrets.USER_TARGET }} # 服务器目标目录
strip_components: 2 strip_components: 2