Skip to content

Commit 9dfc185

Browse files
does order matter?
1 parent 03deb85 commit 9dfc185

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
static_site_generator: sveltekit
4949

5050
- name: Build
51-
run: pnpm run build
52-
env: # Or as an environment variable
51+
env:
5352
GOOGLE_FONTS_API_KEY: ${{ secrets.GOOGLE_FONTS_API_KEY }}
53+
run: pnpm run build
5454

5555
- name: Upload Artifacts
5656
uses: actions/upload-pages-artifact@v1

src/routes/+page.server.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { env } from '$env/dynamic/private'
1+
import { GOOGLE_FONTS_API_KEY } from '$env/static/private'
22
import { createServerLoad } from 'svelte-font-select'
33

4-
export const load = createServerLoad(env.GOOGLE_FONTS_API_KEY)
4+
export const load = createServerLoad(GOOGLE_FONTS_API_KEY)

0 commit comments

Comments
 (0)