From 33f9f8f0c874bf0eb6fab383477ce16a1ac28e68 Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Wed, 9 Apr 2025 09:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=96=87=E6=A1=A3=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ src/content/blog/Astro主题优雅的vhAstro-Theme.md | 4 ++++ src/content/blog/从Hexo到Astro博客1分钟迁移指南.md | 4 ++++ 3 files changed, 12 insertions(+) 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/)。 ### 迁移后性能对比