-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudflare Pages fetch-depth #123
Comments
Hi @segg21 , I am not familiar with cloudflare pages (https://pages.cloudflare.com/) One thing you could do, is setup cloudflare pages to deploy your Now you can use If you really want to use cloudflare builds, I can't help you with that. I searched for you, I didn't find an option to specify clone depth. |
Thanks. I ended up figuring out. I didn't want to use GitHub pages due to limitations, and the extra benefits CF pages provides. |
@segg21 What ended up being your solution to this? I also am in the same situation and cannot find any documentation on how to change the fetch-depth for CF Pages. |
Instead of CloudFlare automatically detecting updates, building, and publishing itself, I'm using GitHub actions (that does building w/ fetch-depth) and pushing site contents to CloudFlare using cloudflare/pages-action@v1 Here an example of the action I have setup. You'll need to disable GitHub automation within CloudFlare's dashboard for your page. |
That makes perfect sense. Thanks for all the info! I think I'll follow your lead on this and do something similar. |
segg21's link to example doesn't work anymore, so I'm pasting here the contents of the
|
I'm currently trying to figure out how with cloudflare pages to fix the
fetch-depth
issue.Cloudflare is automatically doing the deployment/pipeline without any github workflow files.
I'm not sure how to fix this issue so that file created timestamps are proper, not from last commit date.
Thanks!
The text was updated successfully, but these errors were encountered: