Upload a site to Meli
In the UI, create a site, say
my-site
In
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.com
andhttps://my-site.meli.my-company.com
Point your domain to the site in meli. If you are pointing
sub.domain.com
to a meli site, you can add aCNAME
DNS record to pointsub.domain.com
tomy-site.meli.my-company.com
. If you are pointing a primary domain (domain.com
), you have to create a DNSA
record pointing to the IP where Meli serves your sites.
#
Github ActionsAdd a repository secret named MELI_TOKEN
with a Meli token for your site, then update your build workflow: