From 80ca1689bf07b2d150ae2bd7119f5fdae04d6109 Mon Sep 17 00:00:00 2001 From: tracy626 Date: Fri, 20 Sep 2024 21:25:15 +0800 Subject: [PATCH] Update PublishMySite.yml --- mkdocs-site/.github/workflows/PublishMySite.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mkdocs-site/.github/workflows/PublishMySite.yml b/mkdocs-site/.github/workflows/PublishMySite.yml index d7bd7e2..fb02dbb 100644 --- a/mkdocs-site/.github/workflows/PublishMySite.yml +++ b/mkdocs-site/.github/workflows/PublishMySite.yml @@ -1,11 +1,11 @@ name: tracy626 on: # 在什么时候触发工作流 - push: # 在从本地main分支被push到GitHub仓库时 + push: # 在从本地master分支被push到GitHub仓库时 branches: - - main - pull_request: # 在main分支合并别人提的pr时 + - master + pull_request: # 在master分支合并别人提的pr时 branches: - - main + - master jobs: # 工作流的具体内容 deploy: runs-on: ubuntu-latest # 创建一个新的云端虚拟机 使用最新Ubuntu系统