From 9c5d5f4488891d7bdc08ec57171d5420c5a689e6 Mon Sep 17 00:00:00 2001 From: f-o-x11 <239233855+f-o-x11@users.noreply.github.com> Date: Wed, 25 Nov 2026 07:01:16 -0800 Subject: [PATCH] docs(deployment): add direct folder upload example (deed.page) --- source/docs/getting-started/deployment.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/docs/getting-started/deployment.md b/source/docs/getting-started/deployment.md index 7dcaf24b..f95c70d9 100644 --- a/source/docs/getting-started/deployment.md +++ b/source/docs/getting-started/deployment.md @@ -15,6 +15,16 @@ There are two main methods for deploying a Hexo site: 2. Localization testing: `hexo clean && hexo s`. 3. Deployment: `hexo g -d`. +If you would rather not set up a deployer plugin, some static hosts accept the generated `public` folder as a direct upload. For example, [deed.page](https://deed.page) publishes a tarball of `public` with one request and no account. Set `url` in Hexo `_config.yml` to `https://your-blog.deed.page` first, so permalinks point to the published site: + +```bash +$ hexo clean && hexo g +$ tar -C public -czf site.tar.gz . +$ curl -T site.tar.gz "https://deed.page/v1/sites?slug=your-blog" +``` + +The JSON response contains the site URL and a token that is shown only once. Send it as an `Authorization: Bearer` header to update the same slug later; uploading to an existing slug without it returns `409`. A single upload is capped at 4 MB and Free-plan sites show a small deed.page badge, see the [deed.page docs](https://deed.page/docs). + ### Continuous Integration * Edit the file directly online, effective immediately