Update hugo workflow for Jafner.dev, update source link in site config
This commit is contained in:
parent
540103b243
commit
fa1995e956
8
.github/workflows/Jafner.dev_hugo.yaml
vendored
8
.github/workflows/Jafner.dev_hugo.yaml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Hugo
|
name: Build and Deploy Jafner.dev with Hugo
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
@ -39,12 +39,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: 'active projects/Jafner.dev'
|
path: 'sites/Jafner.dev'
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v4
|
uses: actions/configure-pages@v4
|
||||||
with:
|
with:
|
||||||
path: 'active projects/Jafner.dev'
|
path: 'sites/Jafner.dev'
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
@ -61,7 +61,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: 'active projects/Jafner.dev/.public'
|
path: 'sites/Jafner.dev/.public'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
|
@ -68,7 +68,7 @@ disableHugoGeneratorInject = false
|
|||||||
author = false
|
author = false
|
||||||
|
|
||||||
topText = [
|
topText = [
|
||||||
"Source on <a href=\"https://github.com/Jafner/jafner.dev\">GitHub</a>"
|
"Source on <a href=\"https://github.com/Jafner/jafner.net/sites/Jafner.dev\">GitHub</a>"
|
||||||
]
|
]
|
||||||
bottomText = [
|
bottomText = [
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user