Skip to content

修复未加载一条龙问题 #36

修复未加载一条龙问题

修复未加载一条龙问题 #36

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 # 要推送到的目标仓库的分支