Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: use 'pull_request' on publish-storybook.yml (#4051)

Alex Yang7c4e65a5bebf
diff --git a/.github/workflows/publish-storybook.yml b/.github/workflows/publish-storybook.yml
index 235d29b183..3047cd762a 100644
--- a/.github/workflows/publish-storybook.yml
+++ b/.github/workflows/publish-storybook.yml
@@ -4,15 +4,19 @@ env:
NODE_OPTIONS: --max-old-space-size=4096
on:
+ workflow_dispatch:
push:
branches:
- master
- pull_request_target:
+ pull_request:
branches:
- master
paths-ignore:
- README.md
- .github/**
+ - apps/server
+ - apps/docs
+ - apps/electron
- '!.github/workflows/publish-storybook.yml'
jobs:
@@ -34,6 +38,8 @@ jobs:
run: yarn run build:plugins
- uses: chromaui/action-next@v1
with:
+ workingDir: apps/storybook
+ buildScriptName: build
exitOnceUploaded: true
onlyChanged: false
diagnostics: true