✿✿ヽ(°▽°)ノ✿ (^▽^)
serverless-cloud-notepad
Github → https://github.com/Neomo/serverless-cloud-notepad
①在Cloudflare中操作 ↓
Create your Cloudflare API token in here, https://dash.cloudflare.com/profile/api-tokens
choose Cloudflare Workers Template to complete create.
②在GitHub中操作 ↓
- Fork this repository and add 3 Secret in Settings -> Secrets and variables -> Actions:
CLOUDFLARE_API_TOKEN # your Cloudflare API token
SCN_SALT # whatever you like(for security reason)
SCN_SECRET # whatever you like(for security reason)
- Go to Actions tab, run
Deploy cloud-notepad
workflow. - After a while, you will see the deployment-url in Annotations.
③回到Cloudflare
在设置里面设置自定义域名