The publishing workflow.
THE SIMPLE METHOD
Build locally, upload the output by FTP.
WHAT TO UPLOAD
The generator's output directory, not your source.
Uploading source files publishes your working files, which may include things you did not intend.
WHAT TO BE CAREFUL WITH
Old files remaining from a previous build Pages that no longer exist still being served Hidden files not transferred
REMOVING OLD FILES
If a page is deleted from your source, it remains on the server unless removed.
Either clear the directory before uploading, or delete removed files deliberately.
FOR LARGE SITES
Compress the output, upload one archive, extract on the server.
Far faster than thousands of small files.
AUTOMATING IT
Deployment tools can upload changed files only.
Worth setting up if you publish frequently.
WHAT TO TEST AFTER PUBLISHING
That the site loads That new pages appear That removed pages return a proper not-found page