4 ms·
I have a script [1] that uploads my website to BunnyCDN. [1]: https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.py https://github.com/gkbrk/scripts/bl
by gkbrk 6y ago
I have a script [1] that uploads my website to BunnyCDN.
[1]: https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.py https://github.com/gkbrk/scripts/blob/master/bunnycdn-sync.p...
- pier25 6y agoThanks, I don't know Python but it looks pretty standard. It's similar to what I did in Node.
- axelthegerman 6y agoHa I actually just came across my snippet - this is what I used in curl: curl -X PUT --data "@./<file>.html" -H 'AccessKey: <YOUR_KEY>' https://<REGION>.storage.bunnycdn.com/<SPACE>/<PATH>/<FILE> https://<REGION>.storage.bunnycdn.com/<SPACE>/<PATH>/<FILE>