Skip to content

Commit

Permalink
Update hugo workflow for Jafner.dev, update source link in site config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jafner committed Jul 19, 2024
1 parent 540103b commit fa1995e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/Jafner.dev_hugo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Hugo
name: Build and Deploy Jafner.dev with Hugo
on:
push:
branches: [ main ]
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion sites/Jafner.dev/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
]
Expand Down

0 comments on commit fa1995e

Please sign in to comment.