Deploy Scalar Docs
GitHub deployment#
Connect a repository and use automatic deployment to publish after a merge. Preview deployments let reviewers inspect a pull request before it reaches the live site.
CLI deployment#
Publish from any folder with the Scalar CLI:
npx @scalar/cli project publishGitHub Actions#
Use a GitHub Actions workflow when your documentation needs a repeatable CI/CD deployment. Keep credentials and deployment settings in the repository's workflow configuration.