I-deploy ang iyong Astro app
Astro ships static HTML by default — you only reach for a server adapter if you opt into one. For a default project, npm run build is already producing exactly what this host wants.
- 01
Build the site
Run "npm run build" (or "astro build" directly). Astro pre-renders every page to static HTML in a "dist" folder, plus a hashed, cacheable "_astro" assets folder.
- 02
Confirm you haven't added a server adapter
If astro.config.mjs sets "output: 'server'" or "'hybrid'" with an adapter (Node, Vercel, Cloudflare…), some routes render on request and won't exist as files. The default, adapter-free config is fully static.
- 03
I-deploy ito
Patakbuhin ang "npx harvis deploy dist" mula sa project root mo. Walang config at walang login para sa unang deploy na ito — agad kang makakakuha ng live URL, kasama ang private na claim link para idugtong ang site sa libreng account kapag handa ka na.
I-deploy ang Astro gamit ang isang command
I-build ang project mo, tapos ibigay sa harvis ang output folder. Walang kailangang account para sa unang deploy — makakakuha ka ng live link at private na claim link para pamahalaan ito sa susunod.
npm run build npx harvis deploy dist
Mas gusto mong mag-drag ng file kaysa terminal? I-build ang project, tapos i-drop ang output folder dito at i-publish ito sa parehong paraan.
Mga tanong sa pag-deploy ng Astro
I'm using Astro islands with React or Vue components. Does that still work?
Yes — islands hydrate in the browser after the static HTML loads, so they don't need a server at request time. The framework code ships as regular JavaScript in the dist folder like any other asset.
What if I need server-rendered routes for one page?
Static hosting can't run per-request server code, full stop. Either keep that route external (calling your own API from client-side JS is fine) or split it out and host it somewhere that runs a server — the rest of the Astro site can still live here.
Talaga bang libre ang pag-deploy ng Astro app sa harvis?
Oo, walang kailangang card. Ang libreng limit ay 500 file at 50 MB kada site, na sapat na sapat para sa static Astro build. Hindi nag-e-expire ang mga na-publish na site — mananatili itong live hanggang sa i-delete mo ito.
Puwede ko bang gamitin ang sarili kong domain sa na-deploy na Astro site?
Bawat site ay makakakuha ng libreng harvis.dev address, at puwede kang pumili ng sarili mong subdomain mula sa dashboard pagkatapos itong i-claim — my-app.harvis.dev sa halip na random. Ang pagtuturo ng domain na meron ka na (tulad ng mystore.com) papunta sa site ay hindi pa suportado.
Ano ang pagkakaiba nito sa pag-deploy ng Astro sa Vercel o Netlify?
Umiikot ang Vercel at Netlify sa pagkonekta ng Git repo at pagpapatakbo ng build mo sa mga server nila, may dashboard para i-configure ito. Nilalaktawan ng harvis ang lahat ng iyon: nagbi-build ka locally (o sa sarili mong CI), nagpapatakbo ng isang CLI command laban sa output folder, at makakakuha ng link — walang project setup, at walang kailangang account hanggang gusto mong panatilihin ang site.
Nag-de-deploy ka ng iba?
Pareho ang proseso kahit saan — i-build ito, tapos npx harvis deploy ang output.