Deploy your first site
This guide takes a Git repo to a running site.
1. Write the manifest
apiVersion: podmaker.sh/v1alphakind: Sitemetadata: name: blogtargets: - server: demo-01source: type: git repo: https://github.com/acme/blog.git branch: mainruntime: type: node version: "20" build: command: npm ci && npm run build output_dir: dist start: command: node server.js port: 3000 healthcheck: /healthz2. Validate
pdctl validate site.yml3. Apply
pdctl apply -f site.ymlpodmaker clones the repo, runs the build, provisions a database if the app needs one, injects its credentials into the environment, and starts the app behind Caddy.
4. Watch it come up
Open the panel’s site overview, or stream logs from the deploy. The first deploy obtains a certificate once you attach a domain — see Domain & SSL.