How to send URL of the HTML report generated in gitlab artifacts to a nginx hosted server using gitlab api


I’ve the html report generated under the artifacts folder for a given job, now I want to make that HTML report to be available in one of the nginx hosted web server (http://some_domain_name:8080).

my .yml file looks like below:

      name: "artifact_name"
        - artifacts
      expire_in: 7 days

I think I’m able to download the artifacts using below API and extract the html report:

curl --location --output --header "PRIVATE-TOKEN: <your_access_token>" ""

Is there a way that we can configure .yml file to make that html file from the artifacts folder to be available on a nginx web server ?