Release: CI/CD Improvements v2 - #130
Merged
Merged
Conversation
🔄 [Auto-Sync] Merge main back into develop
- Rename jobs with unique prefixes to avoid confusion when multiple workflows run - Preview jobs: 'Preview - Test & Lint', 'Preview - Deploy to Vercel' - Production jobs: 'Production - Test & Lint', 'Production - Deploy to Vercel' - Develop jobs: 'Develop - Test & Lint', 'Develop - Deploy to Vercel' - This resolves duplicate job names in PR status checks Note: Rulesets need manual update via web interface to match new job names
- Rename jobs with unique prefixes to avoid confusion when multiple workflows run - Preview jobs: 'Preview - Test & Lint', 'Preview - Deploy to Vercel' - Production jobs: 'Production - Test & Lint', 'Production - Deploy to Vercel' - Develop jobs: 'Develop - Test & Lint', 'Develop - Deploy to Vercel' - This resolves duplicate job names in PR status checks Note: Rulesets need manual update via web interface to match new job names
- Move deploy control from caller to reusable-deploy-vercel.yml - Add paths-filter back to reusable-deploy-vercel.yml for internal control - Remove job-level condition from preview.yml deploy-preview - Both jobs now always run (green status checks) but skip steps when no code changes - Optimizes Vercel costs: deploy only when src/public/package files change Before: deploy-preview job skipped entirely when no code changes After: deploy-preview job runs but skips internal steps, maintaining status checks
…ture Add the final chapter about implementing conditional deploy logic in reusable workflows: - Status checks consistency problem - Moving control from job-level to step-level conditions - Uniform architecture across reusable workflows - Cost optimization benefits - Complete before/after comparison with code snippets
- Move deploy control from caller to reusable-deploy-vercel.yml - Add paths-filter back to reusable-deploy-vercel.yml for internal control - Remove job-level condition from preview.yml deploy-preview - Both jobs now always run (green status checks) but skip steps when no code changes - Optimizes Vercel costs: deploy only when src/public/package files change Before: deploy-preview job skipped entirely when no code changes After: deploy-preview job runs but skips internal steps, maintaining status checks
Fix malformed preview URL in the PR comment template: - Remove incorrect 'dpreview.com' prefix - Restore proper deployment URL variable reference
Docs(blog): Add post about CI/CD saga
…inciple Docs: Add 'Verify, Then Act' Principle
Revert: Remove blog posts from develop
Contributor
🚀 Vercel Preview DeploymentA pré-visualização para este PR foi atualizada.
Commit: |
- Added descriptive name 'Validate Release Branch for Main' to the job - Improves workflow logging and status check visibility
- Changed back to named link format: [URL de Preview](url) - Removed the incorrect dpreview.com domain reference
- Changed 'Preview -' and 'Production -' prefixes to 'CI -' for consistency - Updated job names in preview.yml and production.yml - Maintains clear identification while improving naming consistency
- Removed push trigger for release/** branches from preview.yml - Preview workflow should only run on PRs, not on direct pushes to release branches - Maintains proper separation between preview (PR) and release (push) workflows
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release incluindo todas as melhorias de CI/CD da develop.
🚀 Melhorias de CI/CD Incluídas
Arquitetura Condicional de Deploy
Correções Técnicas
Documentação
🔧 Arquivos Alterados
.github/workflows/- Refatoração completa dos workflows.github/copilot-instructions.md- Atualização das diretrizessrc/content/blog/- Novos posts sobre CI/CD📊 Impacto
🔄 Processo
Esta release segue o Git Flow correto:
developatualPreparado para semantic-release automático