Move docs deployment to Cloudflare

This commit is contained in:
Federico Jaramillo Martinez
2026-05-21 09:17:58 +02:00
parent 70eb47b47a
commit 1a91094a5b
3 changed files with 4 additions and 48 deletions
-41
View File
@@ -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
View File
@@ -1 +0,0 @@
pi-web.dev
+4 -6
View File
@@ -1,14 +1,12 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "pi-web",
"name": "pi-web-docs",
"compatibility_date": "2026-05-20",
"observability": {
"enabled": true
},
"assets": {
"directory": "."
},
"compatibility_flags": [
"nodejs_compat"
]
"directory": ".",
"not_found_handling": "404-page"
}
}