mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-12 07:55:11 +08:00
chore(github-pages): 更新GitHub Pages构建工作流
- 将工作流名称从"Deploy Vue Project"更改为"构建Github Pages" - 添加workflow_dispatch触发器以支持手动触发部署 - 保留main分支的推送触发器 - 维持内容读取权限设置
This commit is contained in:
6
.github/workflows/github-pages.yml
vendored
6
.github/workflows/github-pages.yml
vendored
@@ -1,8 +1,10 @@
|
|||||||
name: Deploy Vue Project
|
name: 构建Github Pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ] # 如果你的主分支叫 master,请改为 master
|
branches: [ main ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
Reference in New Issue
Block a user