From fdde45d437eb73842fafbffe37295dbb5dac8cce Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 30 Sep 2026 16:17:45 +0700 Subject: [PATCH] feat: publish all merged sites from one Pages workflow with a landing page --- .../pages.yaml => .github/workflows/pages.yml | 19 +++++++---- 20200411/index2.html | 2 +- README.md | 25 +++++++++++++++ apart/README.md | 2 +- beentogether/README.md | 2 +- demngayxaem/README.md | 2 +- hurt/README.md | 2 +- index.html | 32 +++++++++++++++++++ 8 files changed, 75 insertions(+), 11 deletions(-) rename hurt/.github/workflows/pages.yaml => .github/workflows/pages.yml (55%) create mode 100644 README.md create mode 100644 index.html diff --git a/hurt/.github/workflows/pages.yaml b/.github/workflows/pages.yml similarity index 55% rename from hurt/.github/workflows/pages.yaml rename to .github/workflows/pages.yml index 7c29b40..1f036a6 100644 --- a/hurt/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yml @@ -1,12 +1,9 @@ -name: Deploy static site to Pages +name: Deploy to GitHub Pages on: push: branches: - main - paths: - - "page/**" - - ".github/workflows/pages.yaml" workflow_dispatch: permissions: @@ -27,12 +24,22 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + # hurt keeps its Cocos Creator source next to the built site, so only + # hurt/page/ is published; every other site is served as-is. + - name: Assemble site + run: | + mkdir _site + cp index.html _site/ + for d in 20200411 apart beentogether demngayxaem dental-visit mai-birthday-2021; do + cp -r "$d" _site/ + done + cp -r hurt/page _site/hurt - name: Setup Pages uses: actions/configure-pages@v6 - - name: Upload page/ artifact + - name: Upload artifact uses: actions/upload-pages-artifact@v5 with: - path: ./page + path: ./_site - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v5 diff --git a/20200411/index2.html b/20200411/index2.html index f9adf3e..3d9a210 100644 --- a/20200411/index2.html +++ b/20200411/index2.html @@ -4,7 +4,7 @@ Gửi em yêu! - + diff --git a/README.md b/README.md new file mode 100644 index 0000000..374fa30 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# nntv + +A collection of old websites I made for my ex-girlfriend, Vy. Each one used to +live in its own repository; they are merged here with their full commit history, +each in its own folder. + +| Folder | Site | Made | +|---|---|---| +| [`20200411/`](20200411/) | | 2020 | +| [`beentogether/`](beentogether/) | | 2021 | +| [`apart/`](apart/) | | 2021 | +| [`mai-birthday-2021/`](mai-birthday-2021/) | | 2021 | +| [`dental-visit/`](dental-visit/) | | 2021 | +| [`demngayxaem/`](demngayxaem/) | | 2022 | +| [`hurt/`](hurt/) | | 2022 | + +## Deploy + +[`.github/workflows/pages.yml`](.github/workflows/pages.yml) publishes every +folder to GitHub Pages as-is, except `hurt/`, where only the built `hurt/page/` +is published. The root [`index.html`](index.html) links to all of them. + +## License + +Each folder keeps its own Apache-2.0 `LICENSE`. diff --git a/apart/README.md b/apart/README.md index 1d31570..3dc8c47 100644 --- a/apart/README.md +++ b/apart/README.md @@ -2,7 +2,7 @@ Small personal website with photos and music for someone far away. Photos + ambient music; designed for slow scroll. -Live: https://tiennm99.github.io/apart/ +Live: https://tiennm99.github.io/nntv/apart/ ## License diff --git a/beentogether/README.md b/beentogether/README.md index 61efefe..e86ddd3 100644 --- a/beentogether/README.md +++ b/beentogether/README.md @@ -2,7 +2,7 @@ Been Together — a small website celebrating time spent together with music and photos. -Live: https://tiennm99.github.io/beentogether/ +Live: https://tiennm99.github.io/nntv/beentogether/ ## License diff --git a/demngayxaem/README.md b/demngayxaem/README.md index 0c3d16d..644902c 100644 --- a/demngayxaem/README.md +++ b/demngayxaem/README.md @@ -2,7 +2,7 @@ Đếm ngày xa em — a small relationship "days-apart" counter website. Real-time counter using `Date.now()` since a fixed anchor date. -Live: https://tiennm99.github.io/demngayxaem/ +Live: https://tiennm99.github.io/nntv/demngayxaem/ ## License diff --git a/hurt/README.md b/hurt/README.md index 55d7ee0..d6f87fb 100644 --- a/hurt/README.md +++ b/hurt/README.md @@ -11,7 +11,7 @@ npm install && npm start ## Live site The built static version lives in [`page/`](page/) and is published via GitHub Pages at -. +. ## License diff --git a/index.html b/index.html new file mode 100644 index 0000000..8a68dba --- /dev/null +++ b/index.html @@ -0,0 +1,32 @@ + + + + + + nntv + + + +
+

nntv

+ +
+ +