Repository navigation
ci(docs): add deploy Github Action - #11911
Conversation
Deploying typeorm with
|
| Latest commit: |
2356efe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1a706905.typeorm.pages.dev |
| Branch Preview URL: | https://ci-cloudflare-pages-move-to.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["Push to docs/"] --> B["Detect Package Manager"]
B --> C["Setup Node.js 20"]
C --> D["Install Dependencies"]
D --> E["Build Docs"]
E --> F["Deploy to Cloudflare Pages"]
|
| Relevant files | |||
|---|---|---|---|
| Configuration changes |
|
PR Code Suggestions ✨Latest suggestions up to 2356efe
Previous suggestionsSuggestions up to commit ad4189f
Suggestions up to commit 0584510
✅ Suggestions up to commit 5d42097
✅ Suggestions up to commit 8adbf61
✅ Suggestions up to commit e3c11ab
✅ Suggestions up to commit 5cc9305
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Pull request overview
This PR 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 explicitly managing the build and deployment process.
Changes:
- Added a new GitHub Actions workflow that triggers on documentation changes
- Implements package manager detection, dependency installation, docs build, and Cloudflare Pages deployment
- Configured with appropriate permissions for content reading and deployment management
Code Review by Qodo
1. Hardcoded Cloudflare project name unvalidated
|
|
Persistent review updated to latest commit e3c11ab |
|
Persistent review updated to latest commit 8adbf61 |
|
Persistent review updated to latest commit 1cf26c2 |
Deploy only after merge to avoid pull_request_target security risks
|
Persistent review updated to latest commit 5d42097 |
|
Persistent review updated to latest commit 0584510 |
- Remove unnecessary fork check (push trigger doesn't run on forks) - Add concurrency to cancel stale deployments
|
Persistent review updated to latest commit ad4189f |
|
Persistent review updated to latest commit 2356efe |
Description of change
Adds a GitHub Action workflow to automatically deploy documentation to Cloudflare Pages when changes are pushed to the
masterbranch.Pull-Request Checklist
masterbranchFixes #00000- N/A