From 3fde19bdad9e8766dc4fdc5fc3ce3d06dc6c8c1a Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Tue, 4 Aug 2026 23:38:06 +0700 Subject: [PATCH] docs(readme): point at in-repo page/ folder; ci: deploy page/ to GitHub Pages --- hurt/.github/workflows/pages.yaml | 38 +++++++++++++++++++++++++++++++ hurt/README.md | 5 ++-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 hurt/.github/workflows/pages.yaml diff --git a/hurt/.github/workflows/pages.yaml b/hurt/.github/workflows/pages.yaml new file mode 100644 index 0000000..457d8f7 --- /dev/null +++ b/hurt/.github/workflows/pages.yaml @@ -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 diff --git a/hurt/README.md b/hurt/README.md index 9662dcd..55d7ee0 100644 --- a/hurt/README.md +++ b/hurt/README.md @@ -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 +. ## License