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 production environment

Alex Yang0b74bd9bfea6
diff --git a/.github/workflows/release-desktop-app.yml b/.github/workflows/release-desktop-app.yml
index ea4305bc10..c64373ddd6 100644
--- a/.github/workflows/release-desktop-app.yml
+++ b/.github/workflows/release-desktop-app.yml
@@ -40,7 +40,7 @@ env:
jobs:
before-make:
runs-on: ubuntu-latest
- environment: ${{ github.ref_name == 'master' && 'production' || 'development' }}
+ environment: production
outputs:
RELEASE_VERSION: ${{ steps.get-canary-version.outputs.RELEASE_VERSION }}
steps:
@@ -73,7 +73,7 @@ jobs:
path: apps/electron/resources/web-static
make-distribution:
- environment: ${{ github.ref_name == 'master' && 'production' || 'development' }}
+ environment: production
strategy:
# all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
matrix: