ci: add .forgejo/workflows/deploy-site.yml for Cloudflare Pages auto-deployment to d3ro.chanpaca.net
Some checks failed
deploy-site-windows / deploy-win (push) Successful in 31s
deploy-site / deploy (push) Failing after 35s

This commit is contained in:
Yun Chan 2026-08-20 17:16:12 +09:00
parent 9dd52f0626
commit e87567fa90
3 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,19 @@
// scripts/inspect-live-d3ro-domain.js
const { chromium } = require('@playwright/test');
async function inspectLive() {
const browser = await chromium.launch({ channel: 'msedge', headless: true });
const page = await browser.newPage();
console.log('Navigating to https://d3ro.chanpaca.net...');
await page.goto('https://d3ro.chanpaca.net', { waitUntil: 'networkidle', timeout: 30000 });
const title = await page.title();
console.log('Live Page Title:', title);
const links = await page.locator('a').evaluateAll(els => els.map(e => ({ text: e.innerText.replace(/\s+/g, ' ').trim(), href: e.href })));
console.log('ALL LINKS ON d3ro.chanpaca.net:', JSON.stringify(links.filter(l => l.text || l.href), null, 2));
await browser.close();
}
inspectLive().catch(console.error);