docs(ci!): use cloudflare worker instead
This commit is contained in:
@@ -41,4 +41,4 @@ jobs:
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: pages deploy public --project-name=primitive-type-pydocs
|
||||
command: deploy
|
||||
|
||||
14
wrangler.jsonc
Normal file
14
wrangler.jsonc
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "primitive-type",
|
||||
"compatibility_date": "2024-11-01",
|
||||
"assets": {
|
||||
"directory": "./public",
|
||||
"binding": "ASSETS"
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "docs.staringplanet.top/primitive-type/*",
|
||||
"zone_name": "docs.staringplanet.top"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user