Skip to content

Commit

Permalink
🐎 ci: 更换ci配置
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghui-su committed Jun 18, 2024
1 parent df29598 commit 59e5504
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,12 @@ jobs:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: npm run build

# 上传腾讯云
- name: 发布到腾讯云
uses: easingthemes/ssh-deploy@v2.1.1
env:
# 私钥
- name: 上传腾讯云
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
# scp参数
ARGS: "-o StrictHostKeyChecking=no"
# 源目录
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "dist"
# 服务器ip:换成你的服务器IP
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
# 用户
REMOTE_USER: "root"
# 目标地址
TARGET: "/www/wwwroot"

0 comments on commit 59e5504

Please sign in to comment.