Use Retrieve Cloudlare Pages random hash subdomain in GitHub wokflows

Hi,

I am unable to find information in documentation, on how or if possible to retrieve random hash while running in a Github workflow. I would like to perform testing using lighthouse, but am unable to come up with an idea to retrieve and assign it.

Workflow part in concern:

(...)

        with:
          urls: |
            https://<VAR-TO-ASSIGN>.project.pages.dev/

(...)

Thanks,

Hey,

You can retrieve this from the API - Cloudflare API v4 Documentation

1 Like

Yap, I already see what I need :slightly_smiling_face:

Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.