Azure static web apps have a built-in CI/CD integration with GitHub and provide a token that can be used with other services such as GitLab. In most cases this works well, but occasionally you might 1) want to deploy something that's hosted elsewhere or 2) want to deploy something manually, without creating a pipeline.
Generally, I would go the pipeline route but in one case I just wanted to push up a static site that was generated using DocFX. Unfortunately, there's not much information about how to do that.