Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohaodu committed Jul 27, 2024
1 parent c416891 commit a661ca4
Show file tree
Hide file tree
Showing 22 changed files with 8,207 additions and 4,742 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,20 @@ jobs:
uses: actions/[email protected]
with:
node-version: '18.18.1'
- name: Install npm dependencies
run: npm install
- uses: pnpm/[email protected]
name: Install pnpm dependencies
with:
version: 9.5.0
run_install: true
- name: Run build task
run: npm run build
run: pnpm build
- name: Deploy to Server
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
ARGS: '-rltgoDzvO --delete'
SOURCE: '.output/'
REMOTE_HOST: '81.68.108.130'
REMOTE_HOST: '182.92.222.231'
REMOTE_USER: root
TARGET: '/home/blog' # 打包后的 dist 文件夹将放在
# EXCLUDE: "node_modules,.git,.github"
Loading

0 comments on commit a661ca4

Please sign in to comment.