define_10_cloudflare¶
Setup automation for Cloudflare.
- class pywf_internal_proprietary.define_10_cloudflare.PyWfCloudflare[source]¶
Namespace class for Cloudflare setup automation.
- property cloudflare_pages_doc_site_url: str¶
Get the URL of the documentation site hosted on Cloudflare Pages.
- create_cloudflare_pages_project(real_run: bool = True, verbose: bool = True)[source]¶
Create a Cloudflare Pages project using Wrangler CLI.
- deploy_cloudflare_pages(real_run: bool = True, verbose: bool = True)[source]¶
Deploy the documentation site to Cloudflare Pages using Wrangler CLI.
- setup_cloudflare_pages_upload_token_on_github(real_run: bool = True, verbose: bool = True)[source]¶
Apply the cloudflare pages upload token to GitHub Action secrets in your GitHub repository.
Ref:
- Returns:
a boolean flag to indicate whether the operation is performed.