ci: add .forgejo/workflows/deploy-site.yml for Cloudflare Pages auto-deployment to d3ro.chanpaca.net
This commit is contained in:
parent
9dd52f0626
commit
e87567fa90
3 changed files with 106 additions and 0 deletions
19
scripts/inspect-live-d3ro-domain.js
Normal file
19
scripts/inspect-live-d3ro-domain.js
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue