Skip to content

Commit

Permalink
build: prepare for cloudflare deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Aug 17, 2024
1 parent 04b75cc commit 59222d9
Show file tree
Hide file tree
Showing 7 changed files with 228 additions and 387 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: npm ci

- name: Run build
run: npm run build
run: npm run pages:build

- name: Publish
uses: cloudflare/pages-action@1
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# OpenID Connect Examples / Demo

This repository contains a collection of OpenID Connect examples.
This repository contains a collection of OpenID Connect examples. Check out the examples below to see how to integrate OpenID Connect with your application.

You can use the examples as a starting point for your own project or as a reference to understand how OpenID Connect works.

## Examples

- [Angular SPA](./examples/angular-spa/README.md)
- [Next.js SPA](./examples/nextjs-spa/README.md)
- [React SPA](./examples/react-spa/README.md)

## License
Expand Down
1 change: 1 addition & 0 deletions examples/angular-spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"pages:build": "ng build --configuration production",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
Expand Down
Loading

0 comments on commit 59222d9

Please sign in to comment.