Skip to content

Commit

Permalink
ci: fixing netlify test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 6, 2023
1 parent ea467ad commit 05f5986
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-edge-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- run: npm install git+https://github.com:supertokens/supertokens-node.git#$GITHUB_SHA
- run: npm install
- run: npm install [email protected] [email protected] puppeteer@^11.0.0 isomorphic-fetch@^3.0.0
- run: netlify deploy --debug --prod --build --json --auth=$NETLIFY_AUTH_TOKEN > deployInfo.json
- run: netlify deploy --build --json --auth=$NETLIFY_AUTH_TOKEN > deployInfo.json
- run: cat deployInfo.json
- run: |
( \
Expand Down
6 changes: 5 additions & 1 deletion examples/next/with-emailpassword/config/appInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ const port = process.env.APP_PORT || 3000;
const apiBasePath = "/api/auth/";

export const websiteDomain =
process.env.APP_URL || process.env.NEXT_PUBLIC_APP_URL || process.env.URL || `http://localhost:${port}`;
process.env.APP_URL ||
process.env.NEXT_PUBLIC_APP_URL ||
process.env.DEPLOY_URL ||
process.env.URL ||
`http://localhost:${port}`;

export const appInfo = {
appName: "SuperTokens Demo App",
Expand Down

0 comments on commit 05f5986

Please sign in to comment.