mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
enhance(ci): add push trigger and conditional execution for build-docs workflow
This commit is contained in:
6
.github/workflows/build-plugin-docs.yml
vendored
6
.github/workflows/build-plugin-docs.yml
vendored
@@ -2,10 +2,16 @@ name: Build and Sync Plugin Docs
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-sync-docs:
|
||||
runs-on: ubuntu-latest
|
||||
# Only run on manual trigger or when the commit message starts with "chore(libs): bump version"
|
||||
if:
|
||||
github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'chore(libs): bump version')
|
||||
|
||||
steps:
|
||||
- name: Checkout logseq repository
|
||||
|
||||
Reference in New Issue
Block a user