third party github option for cloudflare pages

Is there a way I could have cf pages pull from forgejo?
7 Replies
Cyb3r-Jak3
Cyb3r-Jak35mo ago
No. You’d have to use CI to push from forgejo
DIVISION_Solar
DIVISION_Solar5mo ago
What CI? Command Line?
Cyb3r-Jak3
Cyb3r-Jak35mo ago
Sorry continuous integration but yeah it would have to be done through automation of command line
DIVISION_Solar
DIVISION_Solar5mo ago
Aah Does cf have docs for it? Nvm found it, so smth like this?
curl --request POST \
--url https://api.cloudflare.com/client/v4/accounts/account_id/pages/projects/project_name/deployments \
--header 'Content-Type: multipart/form-data' \
--header 'X-Auth-Email: ' \
--form branch=<forgejo_url>
curl --request POST \
--url https://api.cloudflare.com/client/v4/accounts/account_id/pages/projects/project_name/deployments \
--header 'Content-Type: multipart/form-data' \
--header 'X-Auth-Email: ' \
--form branch=<forgejo_url>
Cyb3r-Jak3
Cyb3r-Jak35mo ago
Cloudflare Docs
Direct Upload · Cloudflare Pages docs
Upload your prebuilt assets to Pages and deploy them via the Wrangler CLI or the Cloudflare dashboard.
Cyb3r-Jak3
Cyb3r-Jak35mo ago
Pretty sure that requires git integration
DIVISION_Solar
DIVISION_Solar5mo ago
Ah I'll look into it, thank you :Dodge_Pray: