1 Set up your repository
Create a repository named pages to make the site available at the main subdomain.
or
Create a branch pages in a repository:
git checkout --orphan pagesgit rm --cached -r .
2 Upload your files
Push your static content, HTML, style, fonts, images or anything else.
3 You're done!
Access your new website using this link:
https://USERNAME.codeberg.page[/REPOSITORY][/@BRANCH]
or
To use your own domain, add a DNS record:
CNAME [[branch.]repo.]user.codeberg.page
Or for zone roots where CNAME doesn't work:
ALIAS codeberg.page (or A 217.197.91.145)
TXT [[branch.]repo.]user.codeberg.page