Skip to content

Commit

Permalink
workflow updated for pusher
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-rz committed May 19, 2024
1 parent 63eaf88 commit 530e91f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ env:
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
NEXT_PUBLIC_SITE_URL: ${{ secrets.NEXT_PUBLIC_SITE_URL }}

NEXT_PUBLIC_PUSHER_APP_KEY: ${{ secrets.NEXT_PUBLIC_PUSHER_APP_KEY }}
PUSHER_APP_ID: ${{ secrets.PUSHER_APP_ID }}
PUSHER_APP_KEY: ${{ secrets.PUSHER_APP_KEY }}
PUSHER_APP_SECRET: ${{ secrets.PUSHER_APP_SECRET }}

on:
push:
branches-ignore:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ env:
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
NEXT_PUBLIC_SITE_URL: ${{ secrets.NEXT_PUBLIC_SITE_URL }}
NEXT_PUBLIC_PUSHER_APP_KEY: ${{ secrets.NEXT_PUBLIC_PUSHER_APP_KEY }}
PUSHER_APP_ID: ${{ secrets.PUSHER_APP_ID }}
PUSHER_APP_KEY: ${{ secrets.PUSHER_APP_KEY }}
PUSHER_APP_SECRET: ${{ secrets.PUSHER_APP_SECRET }}

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const authRoutes = [
*/


export const apiAuthPrefix = "/api";
export const apiAuthPrefix = "/api/auth";

/**
* The default redirect route after a successful login
Expand Down

0 comments on commit 530e91f

Please sign in to comment.