访问https://cecil.app/hosting/vercel/deploy/ ,会跳转到
https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FCecilapp%2Fthe-butler
我把里面的my-blog改为了the-butler, 点击create 按钮,vercel会为我创建私有仓库
https://github.com/briteming/the-butler ,会自动为我fork该项目:
https://github.com/Cecilapp/the-butler 。并进行部署,部署完成后,我得到网址:
https://the-butler-khaki.vercel.app/
(这跟直接fork项目https://github.com/Cecilapp/the-butler为https://github.com/your-username/the-butler, 然后在https://vercel.com/new/里导入项目https://github.com/your-username/the-butler, 效果是一样的。)
然后,访问https://github.com/briteming/the-butler/tree/main/pages/blog,在此处新建md文件:
我新建的一个帖子:https://github.com/briteming/the-butler/blob/main/pages/blog/2025-01-28-test.md?plain=1 ,内容为
---
title: 测试
description: 这是一篇文章。
date: 2025-01-28 17:21:00
tags:
- misc1
- misc2
draft: false
---
这是测试。
看看如何?
新建帖子后,等待1-2分钟,博客网站https://the-butler-khaki.vercel.app/就得到了更新。
项目地址:
https://github.com/Cecilapp/the-butler
(vercel.com空间支持php,我在后台看到它在安装php的扩展)
https://github.com/briteming/the-butler
演示网站: https://the-butler-khaki.vercel.app/ ,https://the-butler-khaki.vercel.app/blog/
-------------
相关帖子:https://briteming.blogspot.com/2024/11/phpcecil.html
No comments:
Post a Comment