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.

chore: release with config.schema.json (#11391)

forehalob21a0b45202f
diff --git a/.docker/selfhost/config.example.json b/.docker/selfhost/config.example.json
new file mode 100644
index 0000000000..849a14e140
--- /dev/null
+++ b/.docker/selfhost/config.example.json
@@ -0,0 +1,6 @@
+{
+ "schema": "https://github.com/toeverything/affine/releases/latest/download/config.schema.json",
+ "server": {
+ "name": "AFFiNE Self Hosted Server"
+ }
+}
\ No newline at end of file
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 52c0c165d0..1d81b3f67a 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -460,6 +460,7 @@ jobs:
run: |
cp ./.docker/selfhost/compose.yml ./release/docker-compose.yml
cp ./.docker/selfhost/.env.example ./release/.env.example
+ cp ./.docker/selfhost/schema.json ./release/config.schema.json
- name: Generate Release yml
run: |
node ./scripts/generate-release-yml.mjs