diff --git a/README.md b/README.md index 97b56fc..4c5be5c 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ [![vhAstro-Theme](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/uxiaohan/vhAstro-Theme) +### Cloudflare Pages 自动部署 + +[![vhAstro-Theme](https://deploy.workers.cloudflare.com/button)](https://dash.cloudflare.com/?to=/:account/workers-and-pages/create/deploy-to-workers&repository=https://github.com/uxiaohan/vhAstro-Theme) + ### 使用命令拉取模板 ```bash diff --git a/src/content/blog/Astro主题优雅的vhAstro-Theme.md b/src/content/blog/Astro主题优雅的vhAstro-Theme.md index fcd26ac..86b5e77 100644 --- a/src/content/blog/Astro主题优雅的vhAstro-Theme.md +++ b/src/content/blog/Astro主题优雅的vhAstro-Theme.md @@ -81,6 +81,10 @@ top: true ::btn[Vercel 一键部署]{link="https://vercel.com/new/clone?repository-url=https://github.com/uxiaohan/vhAstro-Theme"} +### Cloudflare Pages 自动部署 + +::btn[Cloudflare Pages 一键部署]{link="https://dash.cloudflare.com/?to=/:account/workers-and-pages/create/deploy-to-workers&repository=https://github.com/uxiaohan/vhAstro-Theme" type="warning"} + 其他更多部署方式(简简单单闭眼部署),请参考 [Astro 官方文档](https://docs.astro.build/en/guides/integrations-guide/cloudflare/)。 ### 使用命令拉取模板 diff --git a/src/content/blog/从Hexo到Astro博客1分钟迁移指南.md b/src/content/blog/从Hexo到Astro博客1分钟迁移指南.md index d2accea..b0acf23 100644 --- a/src/content/blog/从Hexo到Astro博客1分钟迁移指南.md +++ b/src/content/blog/从Hexo到Astro博客1分钟迁移指南.md @@ -53,6 +53,10 @@ npm run dev ::btn[Vercel 一键部署]{link="https://vercel.com/new/clone?repository-url=https://github.com/uxiaohan/vhAstro-Theme"} +### Cloudflare Pages 自动部署 + +::btn[Cloudflare Pages 一键部署]{link="https://dash.cloudflare.com/?to=/:account/workers-and-pages/create/deploy-to-workers&repository=https://github.com/uxiaohan/vhAstro-Theme" type="warning"} + 其他更多部署方式(简简单单闭眼部署),请参考 [Astro 官方文档](https://docs.astro.build/en/guides/integrations-guide/cloudflare/)。 ### 迁移后性能对比