Skip to content

显示子组件文件管理和清单信息;添加移除无效文件按钮;设置表格样式 #22

显示子组件文件管理和清单信息;添加移除无效文件按钮;设置表格样式

显示子组件文件管理和清单信息;添加移除无效文件按钮;设置表格样式 #22

name: Build and Deploy
on:
push:
branches:
- main # 当推送到主分支时触发构建
workflow_dispatch: # 手动触发事件
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.17.0'
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build # 根据你的项目配置修改这个命令
- name: Deploy to another repository
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.MINIMAP_GUI_RELEASE }}
publish_dir: ./dist # 这里指定你的编译结果目录
publish_branch: flask-deploy # 要推送到的目标仓库的分支