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: reduce deployment events on pull requests

LongYinan99b35c7a9307
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index ead24994cf..f95e9e7ce6 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -9,7 +9,7 @@ on:
workflow_dispatch:
inputs:
flavor:
- description: 'Build type (canary, beta, internal or stable)'
+ description: 'Build type (canary, beta, or stable)'
type: string
default: canary
@@ -40,7 +40,6 @@ jobs:
build-core:
name: Build @affine/core
runs-on: ubuntu-latest
- environment: production
steps:
- uses: actions/checkout@v4
@@ -68,7 +67,6 @@ jobs:
build-storage:
name: Build Storage
runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.flavor }}
steps:
- uses: actions/checkout@v4
@@ -90,7 +88,6 @@ jobs:
build-storage-arm64:
name: Build Storage arm64
runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.flavor }}
steps:
- uses: actions/checkout@v4
@@ -112,7 +109,6 @@ jobs:
build-docker:
name: Build Docker
runs-on: ubuntu-latest
- environment: ${{ github.event.inputs.flavor }}
needs:
- build-server
- build-core