Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JunLiangWangX authored Feb 3, 2024
1 parent 8b94f08 commit 587042f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
node-version: 18.x
- run: npm i
- run: npm run docs:build --if-present
env:
CI: true
cache: false

- if: ${{ github.event_name == 'push' && success() }}
name: Publish HTML to GitHub Pages
Expand All @@ -40,4 +37,4 @@ jobs:
server: '${{ secrets.SERVER_IP }}'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} # 引用之前创建好的secret
local_path: './public/*'
remote_path: "/home/www/htdocs/wangjunliang/$(basename ${{ github.repository }})"
remote_path: "/home/www/htdocs/wangjunliang/FrontEnd-Engineering-Guide/"

0 comments on commit 587042f

Please sign in to comment.