Skip to content

Commit 94c6287

Browse files
committed
Build: Fix keystatic config
1 parent 60cf881 commit 94c6287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

keystatic.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { config } from '@keystatic/core'
2+
import { KEYSTATIC_STORAGE_KIND } from 'astro:env/client'
23
import { keystaticCampaignsConfig } from 'keystatic/keystatic.campaigns.config'
34
import { keystaticPostsConfig } from 'keystatic/keystatic.posts.config'
45
import { keystaticProjectsConfig } from 'keystatic/keystatic.projects.config'
56

67
export default config({
78
storage: {
89
// https://keystatic.com/docs/github-mode#setting-up-git-hub-mode
9-
kind: import.meta.env.PUBLIC_ASTRO_STORAGE_KIND,
10+
kind: KEYSTATIC_STORAGE_KIND,
1011
repo: {
1112
owner: 'osmberlin',
1213
name: 'www.osm-verkehrswende.org',

0 commit comments

Comments
 (0)