mirror of
https://github.com/tiennm99/nntv.git
synced 2026-10-12 20:15:53 +00:00
docs(readme): point at in-repo page/ folder; ci: deploy page/ to GitHub Pages
This commit is contained in:
1 parent
bd6f0369cd
commit
3fde19bdad
2 files changed
+41
-2
No files matched your search
Vendored
+38
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user