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: 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:

View File

@ -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 = [
] ]