Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maoxiaoke/cf-pages-du
Direct Upload of CloudFlare Pages
https://github.com/maoxiaoke/cf-pages-du
Last synced: about 1 month ago
JSON representation
Direct Upload of CloudFlare Pages
- Host: GitHub
- URL: https://github.com/maoxiaoke/cf-pages-du
- Owner: maoxiaoke
- License: mit
- Created: 2024-05-21T08:14:46.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T05:52:04.000Z (8 months ago)
- Last Synced: 2024-10-15T21:49:22.704Z (3 months ago)
- Language: TypeScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# @nzha/cf-pages-du
This repo is according to the Cloudflare wrangler https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/pages/upload.tsx
Another way to upload Cloudflare page assets is using `npx wrangler@${wranglerVersion} pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"`
Following the guide of [pages-action](https://github.com/cloudflare/pages-action/blob/main/src/index.ts#L41)