-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33d636c
commit 76a1db2
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Deployment | ||
the CMS auth has a [url callback whitelist](src/callback.ts?plain=63) and is deployed to cloudflare worker with the configuration below: | ||
|
||
| Configuration | Value | | ||
|---------------|-------------------| | ||
| Name | netlify-cms-auth | | ||
| usage model | Unbound | | ||
|
||
### enviroment variables and secrets | ||
#### in cloudflare | ||
| Name | Type | Description | | ||
|----------------------------|---------|-------------------------------------------------| | ||
| OAUTH_GITHUB_CLIENT_ID | Secret | github Oauth client ID (under starknet org) | | ||
| OAUTH_GITHUB_CLIENT_SECRET | Secret | github Oauth client Secret (under starknet org) | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Deployment | ||
the CMS is deployed to cloudflare pages with the configuration below: | ||
|
||
| Configuration | Value | | ||
|---------------|----------------------| | ||
| Name | starknet-netlify-cms | | ||
| usage model | Bundled | | ||
|
||
### environment variables and secrets | ||
#### in github | ||
| Name | Type | Description | | ||
|------------------------|------------|------------------------------------------------------------| | ||
| VITE_LIVE_PREVIEW_URL | Variable | declared in the pipeline (netlify-cms.yml) | | ||
| VITE_GIT_BRANCH_NAME | Variable | declared in the pipeline (netlify-cms.yml) | | ||
| VITE_API_BASE_URL | Variable | declared in the pipeline (netlify-cms.yml) | | ||
| VITE_DATA_URL | Variable | declared in the pipeline (netlify-cms.yml) | | ||
| VITE_BACKEND_AUTH_URL | Variable | CMS auth url -- declared in the pipeline (netlify-cms.yml) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters