-
Notifications
You must be signed in to change notification settings - Fork 1
ci: deployment workflow update #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR consolidates deployment workflows into a single standardized pipeline and removes the old matrix-based deploy file.
- Introduces
.github/workflows/deploy.ymlwith two jobs forwildcat-dev-dockerandwildcat-docker, covering preview, version (tag), and production deployments. - Removes the legacy
.github/workflows/deploy-wildcat-docker.yml. - Centralizes environment variable setup and deployment steps for Cloudflare Pages.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/deploy.yml | New unified workflow with separate jobs for each target. |
| .github/workflows/deploy-wildcat-docker.yml | Deleted legacy matrix-based deployment workflow. |
Comments suppressed due to low confidence (3)
.github/workflows/deploy.yml:38
- [nitpick] There are two spaces between 'to' and the project variable, resulting in inconsistent formatting in the job name. Consider removing the extra space.
name: Deploy to ${{ vars.CLOUDFLARE_PROJECT_DEV_DOCKER }}
.github/workflows/deploy.yml:47
- There is trailing whitespace inside the expression before the closing braces. Removing it will keep the syntax clean.
VITE_KEYCLOAK_URL: ${{ vars.VITE_KEYCLOAK_URL_DEV_DOCKER }}
.github/workflows/deploy.yml:55
- [nitpick] Pinning to a commit SHA can make updates harder to track. Consider using the version tag (e.g.,
actions/checkout@v4) for clarity and maintainability.
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
Deploying wildcat-dashboard with
|
| Latest commit: |
31b8713
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1a0c9f16.wildcat-dashboard.pages.dev |
| Branch Preview URL: | https://cleot-change-deployment-work.wildcat-dashboard.pages.dev |
PR Type
Other
Description
• Replaced matrix-based deployment with separate jobs for each environment
• Added Node.js dependency caching for improved build performance
• Enhanced deployment strategy with preview, version, and production branches
• Updated action versions with commit SHA pinning for security
Changes walkthrough 📝
deploy-wildcat-docker.yml
Remove old matrix-based deployment workflow.github/workflows/deploy-wildcat-docker.yml
• Completely removed the existing matrix-based deployment workflow
•
Deleted all 95 lines of the original workflow configuration
deploy.yml
Add enhanced deployment workflow with caching.github/workflows/deploy.yml
• Created new deployment workflow with separate jobs for each
environment
• Added Node.js dependency caching with
actions/cache•
Implemented three-tier deployment strategy (preview, version,
production)
• Pinned action versions with commit SHAs for security