Password locking quarto website using StatiCrypt and Github actions.
- Render with Quarto – The GitHub Actions workflow installs Quarto and runs
quarto render, placing the generated site indocs/(as configured in_quarto.yml). - Lock HTML with StatiCrypt – Every HTML file inside
docs/is re-encrypted in place using the StatiCrypt Docker image. The password is supplied via theSTATICRYPT_PASSWORDsecret, so make sure that secret is defined in the repository settings. - Deploy to Pages – Once all files are locked, the workflow uploads the
docs/artifact and deploys it to GitHub Pages using the standardconfigure-pages,upload-pages-artifact, anddeploy-pagessteps.
Refer to .github/workflows/staticrypt.yml if you need to tweak build targets, add extra content processing, or change deployment behavior.
2026 • Roy Francis