Skip to content

Commit

Permalink
Build: Add missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed Nov 20, 2024
1 parent 153c8e0 commit 60cf881
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .env.example.githubpages
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Those variables stay empty
# because we don't use Keystatic on Github Pages.
KEYSTATIC_GITHUB_CLIENT_ID= # empty
KEYSTATIC_GITHUB_CLIENT_SECRET= # empty
KEYSTATIC_SECRET= # empty
KEYSTATIC_STORAGE_KIND=local
KEYSTATIC_GITHUB_CLIENT_ID= # Empty on Github Pages
KEYSTATIC_GITHUB_CLIENT_SECRET= # Empty on Github Pages
KEYSTATIC_SECRET= # Empty on Github Pages

# Those variables belong into .github/workflows/deploy.yml
# They are envored by `astro.config.mjs` `env.schema``
# KEYSTATIC_STORAGE_KIND: "local"
# ASTRO_ENV: "production"
# ASTRO_OUTPUT_MODE: "static"
# ASTRO_USE_NETLIFY_ADAPTER: "false"
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Install, build, and upload your site output
uses: withastro/action@v2
env:
KEYSTATIC_STORAGE_KIND: "local"
ASTRO_ENV: "production"
ASTRO_OUTPUT_MODE: "static"
ASTRO_USE_NETLIFY_ADAPTER: "false"
Expand Down

0 comments on commit 60cf881

Please sign in to comment.