Update hugo workflow for Jafner.dev, update source link in site config

This commit is contained in:
Joey Hafner 2024-07-18 20:53:40 -07:00
parent 540103b243
commit fa1995e956
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
name: Hugo
name: Build and Deploy Jafner.dev with Hugo
on:
push:
branches: [ main ]
@ -39,12 +39,12 @@ jobs:
with:
submodules: 'true'
fetch-depth: 0
path: 'active projects/Jafner.dev'
path: 'sites/Jafner.dev'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
with:
path: 'active projects/Jafner.dev'
path: 'sites/Jafner.dev'
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
@ -61,7 +61,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'active projects/Jafner.dev/.public'
path: 'sites/Jafner.dev/.public'
deploy:
environment:

View File

@ -68,7 +68,7 @@ disableHugoGeneratorInject = false
author = false
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 = [
]