Publishing
Click Publish in the top bar to deploy your project. Every deployment runs a security scan, builds the app, and hosts it on Lyna Cloud.
The Publish Wizard
The wizard walks you through four steps:
Step 1: URL Configuration
On first publish, Lyna generates a preview URL at lyna-it.com/preview/<project-id>. You can review the URL and set visibility (public, workspace, or private) before going live.

Step 2: Security Review
Lyna scans your source files before deploying.
Exposed Secrets (critical/high severity):
- Stripe keys (
sk_live_,pk_live_,sk_test_,pk_test_) - AWS access keys and secret keys
- Private keys (RSA, EC, DSA, OpenSSH)
- JWT secrets
- Database connection strings (postgres, mysql, mongodb, redis)
- Firebase API keys
- Hardcoded passwords
- Generic secret/API key assignments
Frontend Vulnerabilities (medium/low severity):
eval()anddocument.write()usage- Raw
innerHTMLassignments - Sensitive data in
localStorage - Hardcoded API endpoints
Database Security:
- Tables without Row Level Security
- RLS policy issues flagged by Supabase
Each issue has a severity, and the scan produces a score out of 100:
| Severity | Point Deduction |
|---|---|
| Critical | -25 points |
| High | -15 points |
| Medium | -8 points |
| Low | -3 points |
| Info | -1 point |
The security scan is advisory. You can still publish with warnings, but fix critical and high-severity issues before going live.
Step 3: Publishing
Lyna builds and deploys to Lyna Cloud. The wizard shows real-time progress. First publish creates a preview domain automatically.
Published App Preview
Once deployed, visitors see your app on its live URL with a Lyna branding bar at the top.

Republishing
After the first publish, subsequent deploys reuse your configuration. The security scan still runs, but URL selection is skipped since your domain is already set up. Click Publish again to push your latest changes.
Quota Limits
Your plan determines how many sites you can publish at once. Hit the limit and Lyna prompts you to upgrade. See Plans and Credits for current limits.
Publish Dropdown
Outside the wizard, the publish dropdown in the top bar gives quick access to:
- Preview domain: your
lyna-it.com/preview/...URL with status and a live indicator. - Custom domain: connect your own domain (Pro plan). See Custom Domains.
- Advanced settings: additional deployment options.
