Skip to content

Commit 60cf881

Browse files
committed
Build: Add missing variable
1 parent 153c8e0 commit 60cf881

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.env.example.githubpages

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Those variables stay empty
22
# because we don't use Keystatic on Github Pages.
3-
KEYSTATIC_GITHUB_CLIENT_ID= # empty
4-
KEYSTATIC_GITHUB_CLIENT_SECRET= # empty
5-
KEYSTATIC_SECRET= # empty
6-
KEYSTATIC_STORAGE_KIND=local
3+
KEYSTATIC_GITHUB_CLIENT_ID= # Empty on Github Pages
4+
KEYSTATIC_GITHUB_CLIENT_SECRET= # Empty on Github Pages
5+
KEYSTATIC_SECRET= # Empty on Github Pages
76

87
# Those variables belong into .github/workflows/deploy.yml
8+
# They are envored by `astro.config.mjs` `env.schema``
9+
# KEYSTATIC_STORAGE_KIND: "local"
910
# ASTRO_ENV: "production"
1011
# ASTRO_OUTPUT_MODE: "static"
1112
# ASTRO_USE_NETLIFY_ADAPTER: "false"

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Install, build, and upload your site output
2424
uses: withastro/action@v2
2525
env:
26+
KEYSTATIC_STORAGE_KIND: "local"
2627
ASTRO_ENV: "production"
2728
ASTRO_OUTPUT_MODE: "static"
2829
ASTRO_USE_NETLIFY_ADAPTER: "false"

0 commit comments

Comments
 (0)