Skip to content

Commit

Permalink
🐎 ci: 更换
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghui-su committed Jun 18, 2024
1 parent 297daab commit df29598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# 使用action库 actions/checkout获取源码
uses: actions/checkout@master

# 安装Node10
# 安装Node18
- name: 安装node.js
# 使用action库 actions/setup-node安装node
uses: actions/setup-node@v1
Expand All @@ -40,19 +40,19 @@ jobs:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: npm run build

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

0 comments on commit df29598

Please sign in to comment.