Repository navigation
Conversation
👷 Deploy request for theme-next pending review.Visit the deploys page to approve it
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Type
What is the current behavior?
The Local Deployment part of
getting-started/deployment.mdonly covershexo g -dthrough a deployer plugin. Every other host on the page is set up through CI.Issue resolved: none, this is a small docs addition.
What is the new behavior?
There's now one paragraph and a three-line example under Local Deployment. It covers uploading the generated
publicfolder straight to a static host, with no deployer plugin or Git repository, using deed.page as the example. It also says to seturlin_config.ymlfirst so permalinks point to the published site. Then it notes what you need to know to update the site later: the token is shown once and goes in anAuthorization: Bearerheader, and uploading again without it returns409. Finally it gives the 4 MB per-upload cap and the Free-plan badge, with a link to https://deed.page/docs.Disclosure: this PR comes from the deed.page team. If you'd prefer the page not to name a specific host here, or want it worded differently or moved, I'm happy to change it, or you can just close it. We also maintain an agent skill for publishing to deed.page, which asks the user before it publishes anything: https://github.com/f-o-x11/deed-page-skill
hexo initblog on hexo-theme-next 8.29.0, published with the commands from this PR)hexo generateoutput.How to use?
I tested the steps in a fresh
hexo initblog (Hexo 8, hexo-theme-next 8.29.0 from npm,theme: next, plus oneaboutpage).urlwas set to the deed.page address, and I ran exactly:201and published all 50 generated files (about 43 KB as a tarball)./,/about/,/archives/and the post page returned 200 astext/html.css/main.css,js/next-boot.jsandimages/logo.svgcame back with the right content types, and/aboutreturned a308to/about/.url.Authorization: Bearerupdated the same slug to v2. The same upload without the token returned409.Docs repo checks:
npm run lint(markdownlint) gave the same output before and after this change.deployment.mdstill shows only its two existing findings (MD001 on line 6 and one image without alt text), and nothing new.npx hexo generatebuilt the site with no warnings or errors, and the new paragraph shows up inpublic/docs/getting-started/deployment.html.