Tor Project websites is hosted at several computers for redundancy, and these computers are together called "the www rotation". Please check the static sites help page for more info.
The current git repository for the website can be found on gitweb.tpo/project/web/tpo.git.
The repository is built via the following Jenkins build process.
The current git repository for the 2019 archive can be found on gitweb.tpo/project/web/webwml.git.
The archive repository is built via the following Jenkins build process.
The website is built via Lektor. Lektor is static file generator like Jekyll, Pelican, Hugo, Middleman and many more. This means that unlike WordPress or similar solutions it does not run on a server, but your local computer (or a build server), and generates static HTML that can be uploaded to any web server or content distribution platform like S3 with CloudFront.
The following excerpt was taken from Lektor Documentation.
Why go static? Because the vast, vast majority of websites will be read many more times than they will be updated. This is crucial because dynamic content does not come for free. It needs server resources and because program code is running there it needs to be kept up to date for to ensure there are no security problems that are left unpatched. Also when a website gets a sudden spike of traffic a static website will stay up for longer on the same server than a dynamic one that needs to execute code.