Archived
Move docs deployment to Cloudflare
This commit is contained in:
@@ -1,41 +0,0 @@
|
|||||||
name: Deploy docs to GitHub Pages
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
paths:
|
|
||||||
- docs/**
|
|
||||||
- .github/workflows/pages.yml
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pages: write
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: github-pages
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: Deploy docs site
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
environment:
|
|
||||||
name: github-pages
|
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v5
|
|
||||||
|
|
||||||
- name: Configure Pages
|
|
||||||
uses: actions/configure-pages@v6
|
|
||||||
|
|
||||||
- name: Upload static site
|
|
||||||
uses: actions/upload-pages-artifact@v4
|
|
||||||
with:
|
|
||||||
path: docs
|
|
||||||
|
|
||||||
- name: Deploy
|
|
||||||
id: deployment
|
|
||||||
uses: actions/deploy-pages@v4
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
pi-web.dev
|
|
||||||
+4
-6
@@ -1,14 +1,12 @@
|
|||||||
{
|
{
|
||||||
"$schema": "node_modules/wrangler/config-schema.json",
|
"$schema": "node_modules/wrangler/config-schema.json",
|
||||||
"name": "pi-web",
|
"name": "pi-web-docs",
|
||||||
"compatibility_date": "2026-05-20",
|
"compatibility_date": "2026-05-20",
|
||||||
"observability": {
|
"observability": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
"assets": {
|
"assets": {
|
||||||
"directory": "."
|
"directory": ".",
|
||||||
},
|
"not_found_handling": "404-page"
|
||||||
"compatibility_flags": [
|
}
|
||||||
"nodejs_compat"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user