Skip to content

Commit

Permalink
fix: 修改部署版本
Browse files Browse the repository at this point in the history
  • Loading branch information
cp3hnu committed Oct 16, 2024
1 parent eb8514e commit b50eda1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "16" # 你可以根据项目需要调整 Node.js 版本

Expand All @@ -25,7 +25,7 @@ jobs:
run: npm run build # 构建项目,确保构建输出到指定目录(如 ./build 或 ./dist)

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3 # 用于推送到 gh-pages 分支
uses: peaceiris/actions-gh-pages@v4 # 用于推送到 gh-pages 分支
with:
github_token: ${{ secrets.GITHUB_TOKEN }} # 内置 GitHub Token,用于授权操作
publish_branch: gh-pages # 部署的分支
Expand Down
2 changes: 1 addition & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<div class="setting" v-if="!isEdit">
<div class="title">配置:</div>
<div>
<label for="delay">延时(ms):</label>
<label for="delay">单步延时(ms):</label>
<input :value="delay" id="delay" @input="onDelayInput" />
</div>
<div class="input-checkbox">
Expand Down

0 comments on commit b50eda1

Please sign in to comment.