fix: 更新部署工作流,修改默认分支名称为 main

This commit is contained in:
MKStoler1024 2025-01-31 18:23:05 +00:00
parent 2c1282e98d
commit 519bda2112

View File

@ -7,7 +7,7 @@ name: Deploy VitePress site to Pages
on: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
push: push:
branches: ["master"] branches: ["main"]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch: