Deploy a static website from HTML, ZIP, or a build folder
If your site runs in the browser, start with the folder that contains index.html. Upload those files as a static project, publish the release, and share its HTTPS address.
Download the static website example
Publish the example
- Extract the ZIP. Its root contains
index.html,style.css, andbrand.svg. - Open the workspace, create a static project, and select the extracted folder in Local Files. The existing project’s file tab also accepts a ZIP.
- Publish and wait for the release to be ready. Open the resulting HTTPS link in a private browser window and on a phone. Check the heading, styling, and logo.
Build Vite, React, or Vue before uploading
Run your project’s build command, commonly npm run build. Select the deployable output, such as dist/ or out/, with index.html at its root. Include referenced assets and check their paths. Deplark’s GitHub import reads the selected directory and does not run repository build scripts.
If an SPA route works from the menu but returns 404 when reloaded, enable SPA fallback in the static project. Open a deep link directly and check that the browser loads the expected view and assets.
Before sharing the link
Keep server secrets out of browser files. A site that needs server-side code or private credentials should use a Node.js service. For an audience in China, use the mainland China visitor checklist.