See Building and deploying a custom site using GitHub Actions and GitHub Pages for an explanation of the pattern embodied by this repository template.
You will need to access Settings -> Pages and set the "Build and Deployment" source to "GitHub Actions".