<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cicd on BenzHub</title><link>https://benzhub.github.io/tags/cicd/</link><description>Recent content in Cicd on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Sat, 15 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/cicd/index.xml" rel="self" type="application/rss+xml"/><item><title>CI/CD 自動化部署:用 GitHub Actions + wrangler-action 打造無人值守發布流水線 | Cloudflare 完整教學</title><link>https://benzhub.github.io/post/cloudflare/015-cicd/</link><pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/cloudflare/015-cicd/</guid><description>&lt;blockquote&gt;
&lt;p&gt;上一篇我們把 &lt;strong&gt;漸進式部署&lt;/strong&gt; 講透,你已經能手動完成「上傳、放量、監控、回滾」一整套安全發布。但這些指令&lt;strong&gt;每次發布都要手動敲一遍&lt;/strong&gt;,既繁瑣又容易出錯。這一篇,我們就把它自動化——用 &lt;strong&gt;GitHub Actions&lt;/strong&gt; 搭配官方的 &lt;strong&gt;&lt;code&gt;cloudflare/wrangler-action&lt;/code&gt;&lt;/strong&gt;,把「&lt;strong&gt;push 程式碼 → 自動 lint/test → 自動部署&lt;/strong&gt;」串成一條無人值守的流水線。你會學會建立&lt;strong&gt;最小權限 API Token&lt;/strong&gt;、設定 &lt;strong&gt;&lt;code&gt;CLOUDFLARE_API_TOKEN&lt;/code&gt;&lt;/strong&gt; / &lt;strong&gt;&lt;code&gt;CLOUDFLARE_ACCOUNT_ID&lt;/code&gt;&lt;/strong&gt; Secrets、寫出 &lt;strong&gt;staging/production 環境分流&lt;/strong&gt;的完整 workflow,並對比 Cloudflare 原生的 &lt;strong&gt;Workers Builds&lt;/strong&gt;。這是 &lt;strong&gt;CF-2 部署工具&lt;/strong&gt;系列的收尾篇。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>