Deployment#
The site is deployed using the files generated during the build. This process is automated by Jenkins in a “build artifacts” job that runs automatically on the project’s main branch.
This job runs the tox command testenv:build, which installs the npm dependencies, generates the site and save the output as an artifact. The resulting archive is then retrieved when building the image dedicated to swh-dataportal in swh-apps, which serves the site through nginx.
### URLs
production: https://datasets.softwareheritage.org
staging: https://datasets.staging.swh.network
next-version: https://datasets-next-version.internal.staging.swh.network (requires a VPN)