Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# GitHub OAuth App client ID (public — safe to embed in the SPA bundle).
# Use the dev OAuth App's id locally; the dev API is configured with the same id.
VITE_GITHUB_OAUTH_CLIENT_ID=

# Base URL of the auth-function broker that exchanges OAuth codes for tokens.
# Example (local dev): http://localhost:7071
# Example (prod): https://atk-auth.example.com
VITE_AUTH_FUNCTION_URL=
# Base URL of the ATK API (no /api prefix, no trailing slash).
# Example (dev): https://func-atk-dev.azurewebsites.net
# Example (local): http://localhost:7071
# Example (prod): https://func-atk-prod.azurewebsites.net
VITE_ATK_API_URL=
97 changes: 0 additions & 97 deletions .github/workflows/deploy-auth-function.yml

This file was deleted.

18 changes: 1 addition & 17 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,6 @@ jobs:
- name: Test web
run: pnpm test

- name: Install auth-function dependencies
working-directory: auth-function
run: pnpm install --frozen-lockfile

- name: Lint auth-function
working-directory: auth-function
run: pnpm lint

- name: Type check auth-function
working-directory: auth-function
run: pnpm typecheck

- name: Test auth-function
working-directory: auth-function
run: pnpm test

build:
needs: validate
runs-on: ubuntu-latest
Expand All @@ -77,7 +61,7 @@ jobs:
- name: Build
env:
VITE_GITHUB_OAUTH_CLIENT_ID: ${{ vars.VITE_GITHUB_OAUTH_CLIENT_ID }}
VITE_AUTH_FUNCTION_URL: ${{ vars.VITE_AUTH_FUNCTION_URL }}
VITE_ATK_API_URL: ${{ vars.VITE_ATK_API_URL }}
run: pnpm build

- uses: actions/upload-pages-artifact@v3
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,3 @@ jobs:

- name: Run tests
run: pnpm test

- name: Install auth-function dependencies
working-directory: auth-function
run: pnpm install --frozen-lockfile

- name: Lint auth-function
working-directory: auth-function
run: pnpm lint

- name: Type check auth-function
working-directory: auth-function
run: pnpm typecheck

- name: Test auth-function
working-directory: auth-function
run: pnpm test
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Generated by `pnpm generate-api`; do not format by hand.
src/lib/api/
Loading
Loading