<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GitHub Actions 专题：从入门到企业级 CI/CD 自动化 on PlumePHP</title><link>https://plumephp.com/posts/github-actions/</link><description>Recent content in GitHub Actions 专题：从入门到企业级 CI/CD 自动化 on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 23 Nov 2025 11:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/posts/github-actions/index.xml" rel="self" type="application/rss+xml"/><item><title>GitHub Actions 可复用工作流与 Monorepo 策略：缓存优化、矩阵构建与发布自动化</title><link>https://plumephp.com/github-actions-reusable-workflows/</link><pubDate>Sun, 23 Nov 2025 11:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions-reusable-workflows/</guid><description>&lt;p&gt;&lt;strong&gt;在大型组织和 Monorepo 项目中，CI/CD 的 DRY（Don&amp;rsquo;t Repeat Yourself）原则至关重要&lt;/strong&gt;。GitHub Actions 提供可复用工作流（Reusable Workflows）和 Composite Actions，让组织级别的工作流标准化成为可能。本文覆盖从可复用设计到 Monorepo CI 的完整实践。&lt;/p&gt;</description></item><item><title>GitHub Actions 安全与 Secret 管理：权限控制、OIDC 认证、审计与最佳实践</title><link>https://plumephp.com/github-actions-security-secrets/</link><pubDate>Sun, 23 Nov 2025 10:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions-security-secrets/</guid><description>&lt;p&gt;&lt;strong&gt;CI/CD 管道是供应链攻击的主要目标&lt;/strong&gt;。源码、构建环境、密钥一旦泄露，攻击者可以直接植入恶意代码、窃取数据或劫持部署。本文从权限配置到认证机制，构建 GitHub Actions 的完整安全防线。&lt;/p&gt;</description></item><item><title>GitHub Actions Vercel 部署完全指南：预览环境、生产发布、多项目与回滚策略</title><link>https://plumephp.com/github-actions-deploy-vercel/</link><pubDate>Sun, 23 Nov 2025 09:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions-deploy-vercel/</guid><description>&lt;p&gt;&lt;strong&gt;Vercel 自带 Git 集成，但在复杂场景下仍需 GitHub Actions&lt;/strong&gt;：多项目 monorepo、自定义构建步骤、私有依赖、环境保护规则、以及需要在部署前执行额外检查（安全扫描、代码生成等）。本文提供完整的 Vercel + GitHub Actions 部署方案。&lt;/p&gt;</description></item><item><title>GitHub Actions Docker CI/CD 完全指南：多平台构建、安全扫描、Registry 推送与生产部署</title><link>https://plumephp.com/github-actions-docker-cicd/</link><pubDate>Sun, 23 Nov 2025 08:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions-docker-cicd/</guid><description>&lt;p&gt;&lt;strong&gt;Docker 镜像的自动化构建是 CI/CD 的核心环节&lt;/strong&gt;。本文构建从代码提交到镜像推送、安全扫描、再到部署触发的完整流水线，覆盖 Docker Hub、阿里云 ACR、GitHub Container Registry 和 AWS ECR 四大主流 Registry。&lt;/p&gt;</description></item><item><title>GitHub Actions Node.js CI 完全指南：Lint → Type Check → 测试 → 构建 → 发布的完整流水线</title><link>https://plumephp.com/github-actions-nodejs-ci/</link><pubDate>Sun, 23 Nov 2025 07:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions-nodejs-ci/</guid><description>&lt;p&gt;&lt;strong&gt;Node.js 项目的 CI 流水线是工程化的基石&lt;/strong&gt;。一个完善的 CI 应该在代码合并前自动验证代码质量、运行测试、检查类型安全，并在发布时自动构建和部署。本文提供从简单项目到 Monorepo 的完整 GitHub Actions 配置模板和最佳实践。&lt;/p&gt;</description></item><item><title>GitHub Actions 完全指南：CI/CD 工作流设计、可复用 Actions、自制 Action 与企业级最佳实践</title><link>https://plumephp.com/github-actions/</link><pubDate>Sun, 23 Nov 2025 06:00:00 +0800</pubDate><guid>https://plumephp.com/github-actions/</guid><description>&lt;p&gt;&lt;strong&gt;GitHub Actions 是 GitHub 提供的原生 CI/CD（持续集成/持续部署）服务&lt;/strong&gt;，直接集成在代码仓库中。当代码推送、PR 创建、Issue 打开等事件触发时，自动执行预定义的工作流——运行测试、构建应用、部署到服务器。它与 GitHub 生态无缝集成，且对公共仓库完全免费，是独立开发者和团队的首选 CI/CD 工具。&lt;/p&gt;</description></item></channel></rss>