Skip to content

Commit cf3cce3

Browse files
committed
fix: restore upstream deployment links
1 parent e8693c1 commit cf3cce3

5 files changed

Lines changed: 10 additions & 21 deletions

File tree

MEMORY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This file stores durable project context so future conversations can resume work
3030

3131
- Active upstream pull request for the community hub: FirefoxCSS-Store/FirefoxCSS-Store.github.io#330 (`Neikon:main` -> `FirefoxCSS-Store:main`)
3232
- Stale fork helper branches merged into `origin/main` were deleted on 2026-05-02: `rebuild-astro-community-hub`, `codex/issue-submission-automation`, `automation/theme-repository-audit-2026-04`, `automation/theme-stats-refresh-2026-04`, and `submissions/theme-2`
33-
- Fork deployment config currently targets `Neikon/FirefoxCSS-Store.github.io` as a GitHub Pages project site
33+
- Deployment config now targets the upstream organization site: `https://firefoxcss-store.github.io` with no Astro `base`
3434
- Existing GitHub Actions:
3535
- `.github/workflows/build.yml`
3636
- `.github/workflows/check-themes.yml`
@@ -51,7 +51,7 @@ This file stores durable project context so future conversations can resume work
5151

5252
- Local `.codex` file is ignored in `.gitignore`
5353
- Build workflow now deploys the Astro `dist/` artifact to GitHub Pages and does not commit generated files back to the branch
54-
- Fork-specific values to revert before merging upstream: `astro.config.mjs` uses `site: https://neikon.github.io` and `base: /FirefoxCSS-Store.github.io`; `src/layouts/BaseLayout.astro` links to the fork repo; `src/pages/submit.astro` links to the fork's theme submission issue form
54+
- Upstream deployment values were restored on 2026-05-02: `astro.config.mjs` uses `site: https://firefoxcss-store.github.io` with no `base`; GitHub navigation and submission links point to `FirefoxCSS-Store/FirefoxCSS-Store.github.io`
5555
- Pull requests touching catalog or site files trigger validation via `npm test` and `npm run build`
5656
- Site pages are authored as Astro routes in `src/pages/`
5757
- Client behavior for catalog search/filter/sort is implemented in `src/scripts/hub.ts`

README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,14 @@ npm run build
7979

8080
The production workflow builds Astro into `dist/` and deploys that artifact to GitHub Pages. Generated site files are not committed back to the repository.
8181

82-
## Fork Deployment Notes
82+
## Deployment Target
8383

84-
This branch is currently configured to run as a GitHub Pages project site from the fork:
85-
86-
- `astro.config.mjs`
87-
- `site: "https://neikon.github.io"`
88-
- `base: "/FirefoxCSS-Store.github.io"`
89-
- `src/layouts/BaseLayout.astro`
90-
- GitHub navigation link points to `https://github.com/Neikon/FirefoxCSS-Store.github.io`
91-
- `src/pages/submit.astro`
92-
- submission issue link points to `https://github.com/Neikon/FirefoxCSS-Store.github.io`
93-
94-
When this work is moved back to the original organization repository, update those values to:
84+
This branch is configured to run from the original organization GitHub Pages domain:
9585

9686
- `astro.config.mjs`
9787
- `site: "https://firefoxcss-store.github.io"`
98-
- remove `base` if the site is served from the domain root
88+
- no `base`, because the site is served from the domain root
9989
- `src/layouts/BaseLayout.astro`
100-
- GitHub navigation link should point back to `https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io`
90+
- GitHub navigation link points to `https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io`
10191
- `src/pages/submit.astro`
102-
- submission issue link should point back to `https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io`
92+
- submission issue link points to `https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io`

astro.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { defineConfig } from 'astro/config'
22

33
export default defineConfig({
4-
site: 'https://neikon.github.io',
5-
base: '/FirefoxCSS-Store.github.io',
4+
site: 'https://firefoxcss-store.github.io',
65
output: 'static',
76
trailingSlash: 'always'
87
})

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const {
3232
<a href={withBasePath('/')}>Themes</a>
3333
<a href={withBasePath('/archive/')}>Archive</a>
3434
<a href={withBasePath('/submit/')}>Submit</a>
35-
<a href="https://github.com/Neikon/FirefoxCSS-Store.github.io">GitHub</a>
35+
<a href="https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io">GitHub</a>
3636
</nav>
3737
</header>
3838
<slot />

src/pages/submit.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import BaseLayout from '../layouts/BaseLayout.astro'
33
4-
const themeSubmissionUrl = 'https://github.com/Neikon/FirefoxCSS-Store.github.io/issues/new?template=theme-submission.yml'
4+
const themeSubmissionUrl = 'https://github.com/FirefoxCSS-Store/FirefoxCSS-Store.github.io/issues/new?template=theme-submission.yml'
55
---
66
<BaseLayout title="Submit a Theme | FirefoxCSS Hub" description="Share a Firefox userChrome.css theme with the FirefoxCSS Hub catalog.">
77
<main class="submit-page">

0 commit comments

Comments
 (0)