Skip to content

Commit

Permalink
feat: 新增部署到新服务器
Browse files Browse the repository at this point in the history
  • Loading branch information
liguobao committed Mar 7, 2024
1 parent d861491 commit c00328c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
switches: -avzh
path: ./House-Map.newUI/dist/*
remote_path: /opt/www/house2048-new-ui/
remote_host: ${{ secrets.HOUSE_MAP_SERVER }}
remote_host: ${{ secrets.HOUSE_2048_SERVER }}
remote_port: 22
remote_user: root
remote_key: ${{ secrets.LGB_HOME }}
24 changes: 24 additions & 0 deletions .github/workflows/old.ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,27 @@ jobs:
folder: ./House-Map.UI/dist/
clean: true
single-commit: true

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

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

0 comments on commit c00328c

Please sign in to comment.