feat: publish all merged sites from one Pages workflow with a landing page

This commit is contained in:
tiennm99 committed 2026-09-30 16:17:45 +07:00
1 parent 063e05871b
commit fdde45d437
8 files changed
+75 -11

No files matched your search

-38
View File
@@ -1,38 +0,0 @@
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@v7
- name: Setup Pages
uses: actions/configure-pages@v6
- name: Upload page/ artifact
uses: actions/upload-pages-artifact@v5
with:
path: ./page
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
+1 -1
View File
@@ -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
<https://tiennm99.github.io/hurt/>.
<https://tiennm99.github.io/nntv/hurt/>.
## License