From 370e2a2ac2b68e318b129f464c95fc420be1589c Mon Sep 17 00:00:00 2001 From: PaloMiku Date: Fri, 10 Jan 2025 12:47:44 +0800 Subject: [PATCH] fix: Move ORAMA_PRIVATE_API_KEY env var to sync-search step --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 60daa50..2a28a1d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,11 +42,11 @@ jobs: - name: Sync search index run: | pnpm run sync-search + env: + ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }} - name: Generate sitemap run: | pnpm run generate-sitemap - env: - ORAMA_PRIVATE_API_KEY: ${{ secrets.ORAMA_PRIVATE_API_KEY }} - name: Add CNAME run: | echo "mx-space.js.org" > out/CNAME