feat: migrate hosting to Cloudflare Pages via git.ampbox.io

- Update site URL to https://crashtestdev.com, remove /crashtestdev base path
- Add Gitea Actions workflow for Cloudflare Pages deployment
- Remove GitHub Actions workflows (GitHub Pages + legacy Azure SWA)
- Update tests to match new site config

🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
This commit is contained in:
Ken
2026-05-27 22:44:58 +00:00
parent 2a9c91e1e6
commit 6f22edfa95
8 changed files with 46 additions and 118 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ if (existsSync(resolve('src/pages/index.astro'))) {
// ── Build output checks ──
console.log('\n--- Build output checks ---');
assert(existsSync(indexPath), 'dist/crashtestdev/index.html exists');
assert(existsSync(indexPath), 'dist/index.html exists');
if (existsSync(indexPath)) {
const html = readFileSync(indexPath, 'utf-8');
+2 -3
View File
@@ -138,9 +138,8 @@ describe('workbenchTheme in astro.config.mjs', () => {
assert.equal(tc.settings.foreground, '#A0522D');
});
it('should preserve site and base config', () => {
assert.equal(config.site, 'https://kenotron.github.io');
assert.equal(config.base, '/crashtestdev');
it('should preserve site config', () => {
assert.equal(config.site, 'https://crashtestdev.com');
});
it('should include mdx integration', () => {
+1 -2
View File
@@ -63,8 +63,7 @@ const astroConfigPath = join(root, 'astro.config.mjs');
assert(existsSync(astroConfigPath), 'astro.config.mjs exists');
if (existsSync(astroConfigPath)) {
const config = readText(astroConfigPath);
assert(config.includes("site:") || config.includes("site :") || config.includes("'https://kenotron.github.io'") || config.includes('"https://kenotron.github.io"'), 'site is https://kenotron.github.io');
assert(config.includes("base:") || config.includes("base :") || config.includes("'/crashtestdev'") || config.includes('"/crashtestdev"'), 'base is /crashtestdev');
assert(config.includes("'https://crashtestdev.com'") || config.includes('"https://crashtestdev.com"'), 'site is https://crashtestdev.com');
assert(config.includes('@astrojs/mdx'), 'mdx integration referenced');
}