static sites: document deploys site deploy (CLI publish + deploy)#51
Merged
Conversation
The CLI can now publish and deploy a static site from a local folder in one command (`deploys site deploy`), so the docs that said static sites are published "not the CLI" are out of date. - static-sites.md: split "How to deploy" into "From GitHub Actions" and a new "From your machine" section documenting `site deploy` (+ publish/preview and the upload progress bar). - cli.md: add a `site` namespace row and replace the "not the CLI" callout with a "Publishing a static site" section. - types.md: note `site deploy` alongside the build-deploy-action.
|
Preview deleted (PR closed). |
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.
What
The deploys CLI can now publish and deploy a static site from a local folder in one command (
deploys site deploy) — see deploys-app/deploys#49. The docs currently say static sites are published "not the CLI", which is now out of date.Changes
site deploy(one-command publish + permanent deploy), plus pointers tosite publish(ref only) andsite preview(throwaway). Mentions the upload progress bar.siterow to the namespace table and replaced the "not the CLI" callout with a Publishing a static site section (deploy / publish / preview,--spa/--notFound/--environment,site.publishpermission).site deployalongside the build-deploy-action.Builds clean with
hugo --gc; rendered pages verified to contain the new commands.Related
site deployand an upload progress bar deploys#49 — addssite deploy+ the upload progress barPublishSiteprogress callback