Repository navigation
ci(docs): add deploy Github Action to v0.3 branch - #11929
Conversation
Deploying typeorm with
|
| Latest commit: |
623fb81
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3c01573a.typeorm.pages.dev |
| Branch Preview URL: | https://ci-cloudflare-pages-move-to-rrxe.typeorm.pages.dev |
User descriptionDescription of changeAdded a Github action to control deployments of the docs. Pull-Request Checklist
PR TypeEnhancement Description
Diagram Walkthroughflowchart LR
A["Docs Changes Pushed"] -->|Trigger Workflow| B["Detect Package Manager"]
B --> C["Setup Node.js 20"]
C --> D["Install Dependencies"]
D --> E["Build Docs"]
E -->|Deploy| F["Cloudflare Pages"]
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
|
PR Code Suggestions ✨Latest suggestions up to a36a0fc
Previous suggestionsSuggestions up to commit b426f62
Suggestions up to commit 98dd578
✅ Suggestions up to commit aea6e8c
✅ Suggestions up to commit 0d60efc
✅ Suggestions up to commit 1d67430
✅ Suggestions up to commit 623fb81
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull request overview
This pull request adds a new GitHub Actions workflow to automate the deployment of TypeORM documentation to Cloudflare Pages. The workflow provides better visibility and control over documentation deployments by triggering on changes to the docs directory or the workflow file itself.
Changes:
- Added a new GitHub Actions workflow file that detects the package manager (pnpm or npm), builds the documentation, and deploys it to Cloudflare Pages
- Includes dynamic package manager detection to support both npm and pnpm
- Configures appropriate permissions for deployments and uses Cloudflare secrets for authentication
Code Review by Qodo
1. Missing NODE_ENV for Production Build
|
|
Persistent review updated to latest commit d1fa2e2 |
|
Persistent review updated to latest commit 1d67430 |
|
Persistent review updated to latest commit 0d60efc |
|
Persistent review updated to latest commit aea6e8c |
Deploy only after merge to avoid pull_request_target security risks
|
Persistent review updated to latest commit 47c0439 |
|
Persistent review updated to latest commit 98dd578 |
- Remove unnecessary fork check (push trigger doesn't run on forks) - Add concurrency to cancel stale deployments
|
Persistent review updated to latest commit b426f62 |
|
Persistent review updated to latest commit a36a0fc |
Description of change
Adds a GitHub Action workflow to automatically deploy documentation to Cloudflare Pages when changes are pushed to the
v0.3branch.Pull-Request Checklist
v0.3branchFixes #00000- N/A