mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-20 02:16:40 +00:00
1 parent
71de892c1c
commit
84f6fd8e71
1 file changed
+3
-3
+3
-3
@@ -44,7 +44,7 @@ jobs:
|
|||||||
${{ runner.os }}-hugomod-
|
${{ runner.os }}-hugomod-
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v5
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
env:
|
env:
|
||||||
HUGO_ENVIRONMENT: production
|
HUGO_ENVIRONMENT: production
|
||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
- name: Generate Pagefind search index
|
- name: Generate Pagefind search index
|
||||||
run: npx pagefind --site "public"
|
run: npx pagefind --site "public"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./public
|
path: ./public
|
||||||
|
|
||||||
@@ -69,4 +69,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
uses: actions/deploy-pages@v4
|
||||||
Reference in new issue
Block a user