Skip to content

Commit

Permalink
feat: add deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
liguobao committed Feb 19, 2024
1 parent f93d843 commit 22c42ba
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,15 @@ jobs:

- name: Build
run: npm run build
working-directory: ./House-Map.UI
working-directory: ./House-Map.UI
- name: Deploy
uses: burnett01/[email protected]
with:
# 这里是 rsync 的参数 switches: -avzh --delete --exclude="" --include="" --filter=""
switches: -avzh
path: ./dist/*
remote_path: /opt/www/house2048/
remote_host: ${{ secrets.HOUSE_MAP_SERVER }}
remote_port: 22
remote_user: root
remote_key: ${{ secrets.LGB_HOME }}

0 comments on commit 22c42ba

Please sign in to comment.