Skip to content

Commit 8d5d78e

Browse files
committed
Add auth/api, sessions page and CI envs
Add authentication and API helpers and a sessions page: created src/lib/api.ts and src/lib/auth.ts, added src/pages/sessions/index.astro, and updated src/pages/index.astro and src/layouts/BaseLayout.astro to integrate these changes. Update CI to expose PUBLIC_KE_AR_API_KEY, PUBLIC_KE_AR_API_URL and PASSWORD as build env vars in .github/workflows/astro.yml. Also add dev tooling (@astrojs/check and TypeScript) to package.json and regenerate package-lock.json.
1 parent 3b058e7 commit 8d5d78e

8 files changed

Lines changed: 2168 additions & 5 deletions

File tree

.github/workflows/astro.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
--site "${{ steps.pages.outputs.origin }}" \
7373
--base "${{ steps.pages.outputs.base_path }}"
7474
working-directory: ${{ env.BUILD_PATH }}
75+
env:
76+
PUBLIC_KE_AR_API_KEY: ${{ secrets.PUBLIC_KE_AR_API_KEY }}
77+
PUBLIC_KE_AR_API_URL: ${{ secrets.PUBLIC_KE_AR_API_URL }}
78+
PASSWORD: ${{ secrets.PASSWORD }}
7579
- name: Upload artifact
7680
uses: actions/upload-pages-artifact@v3
7781
with:

0 commit comments

Comments
 (0)