docs(readme): point at in-repo page/ folder; ci: deploy page/ to GitHub Pages

This commit is contained in:
tiennm99 committed 2026-08-04 23:38:06 +07:00
1 parent bd6f0369cd
commit 3fde19bdad
2 files changed
+41 -2

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
name: Deploy static site to Pages
on:
push:
branches:
- main
paths:
- "page/**"
- ".github/workflows/pages.yaml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload page/ artifact
uses: actions/upload-pages-artifact@v4
with:
path: ./page
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+3 -2
View File
@@ -8,9 +8,10 @@ Small website inspired by the film "Thắp sáng anh, sưởi ấm em" — a lit
npm install && npm start
```
## Related
## Live site
- [hurt-page](https://github.com/tiennm99/hurt-page) — built/hosted static version of this site.
The built static version lives in [`page/`](page/) and is published via GitHub Pages at
<https://tiennm99.github.io/hurt/>.
## License