That maven link is perhaps not the most useful, but it is not hard to find better-written articles. For example-
https://docs.github.com/en/actions/publishing-packages/publi...
The steps are roughly: 1. Configure the repository you want to push to. 2. Set up your account with the repository. 3. Configure your credentials. 4. Deploy.