Skip to content

Commit 68b7397

Browse files
authored
Merge pull request #297 from performant-software/develop
v1.4.7 updates
2 parents 982cab9 + 7d1bbe3 commit 68b7397

File tree

26 files changed

+1150
-431
lines changed

26 files changed

+1150
-431
lines changed

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# core-data-places
33
############################
44

5+
# Path to the config file to use.
6+
CONFIG_FILE=config.dev.json
7+
58
# URL of the JSON config file used to customize the core-data-places-deployment. It is recommended to store this file
69
# in the /content/settings directory on the content repository to allowing editing via TinaCMS
710
CONFIG_URL=https://raw.githubusercontent.com/...
@@ -53,6 +56,12 @@ TINA_PUBLIC_MAP_LIBRARY_URL=https://...
5356
# load all of the data each time the development server restarts.
5457
USE_CONTENT_CACHE=false
5558

59+
# Should be set to either "update" (the default behavior; will add new records and modify existing ones if there are changes),
60+
# "add" (will not fetch data for existing records, only add new ones), or "refresh" (will clear the data store and load from scratch)
61+
# Use "add" if your goal is to fill in records that threw errors, or to complete an aborted build;
62+
# Use "refresh" if records in the source have been deleted
63+
CONTENT_MODE=update
64+
5665
# Configuration for Keycloak SSO login if relevant
5766
AUTH_KEYCLOAK_ID=tinacms
5867
AUTH_KEYCLOAK_ISSUER=https://keycloak.archivengine.com/realms/your-realm

astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ export default defineConfig({
6060
context: 'client',
6161
default: false,
6262
optional: true
63+
}),
64+
CONTENT_MODE: envField.string({
65+
access: 'public',
66+
context: 'client',
67+
default: 'update',
68+
optional: true
6369
})
6470
}
6571
}

0 commit comments

Comments
 (0)