mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
Bump GitHub workflow actions to latest versions (#1267)
ref: https://github.com/actions/starter-workflows/blob/main/pages/hugo.yml
This commit is contained in:
parent
750feb9cc9
commit
74d288ff94
6
.github/workflows/gh-pages.yml
vendored
6
.github/workflows/gh-pages.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
|||||||
ref: exampleSite
|
ref: exampleSite
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v3
|
||||||
- name: Get Theme
|
- name: Get Theme
|
||||||
run: git submodule update --init --recursive
|
run: git submodule update --init --recursive
|
||||||
- name: Update theme to Latest commit
|
- name: Update theme to Latest commit
|
||||||
@ -64,7 +64,7 @@ jobs:
|
|||||||
--buildDrafts --gc --verbose \
|
--buildDrafts --gc --verbose \
|
||||||
--baseURL ${{ steps.pages.outputs.base_url }}
|
--baseURL ${{ steps.pages.outputs.base_url }}
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
path: ./public
|
path: ./public
|
||||||
# Deployment job
|
# Deployment job
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1
|
uses: actions/deploy-pages@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user