diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d8a55f9..7c4fedf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,11 +24,11 @@ jobs: - name: Install dependencies and build run: | npm install - npm run build # 运行你的构建命令 + npm run build:h5 # 运行你的构建命令 # 部署到 GitHub Pages - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist # 替换为你的构建输出目录 + publish_dir: ./dist/build/h5 # 替换为你的构建输出目录