Upload a site to Meli
In the UI, create a site, say
my-siteIn
my-site, go to the Tokens tab and copy a tokenIn
my-site, go to the Settings tab, and copy the Site IDAssuming your static site has been built into a directory named
public, run:Your site is now live at
https://latest.my-site.meli.my-company.comandhttps://my-site.meli.my-company.comPoint your domain to the site in meli. If you are pointing
sub.domain.comto a meli site, you can add aCNAMEDNS record to pointsub.domain.comtomy-site.meli.my-company.com. If you are pointing a primary domain (domain.com), you have to create a DNSArecord pointing to the IP where Meli serves your sites.
Github Actions#
Add a repository secret named MELI_TOKEN with a Meli token for your site, then update your build workflow: