Skip to main content

Static Site (TLDR)

you will need a domain or subdomain that you control
you will need a server that's been set up with disco
you will need the disco cli


create an A record on your domain or subdomain and point it to your server IP
fork the sample static site repo
create the disco project (replace USERNAME, REPO and DOMAIN):

disco projects:add \
--name my-static-site \
--github-repo git@github.com:USERNAME/REPO.git \
--domain DOMAINNAME

after the previous disco projects:add ... command is done, follow the steps to setup the deployment ssh key, and the webhook url on your repo
you're done! git push from now on to deploy new versions