Skip to content

Commit

Permalink
Built the website with Hugo v0.128
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaillat committed Jul 17, 2024
1 parent 38daaab commit d5b3938
Show file tree
Hide file tree
Showing 32 changed files with 65 additions and 63 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy Hugo site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
branches: [$default-branch]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -31,7 +31,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.114.0
HUGO_VERSION: 0.128.0
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -40,25 +40,24 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./public

Expand All @@ -72,4 +71,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The website produced by the template can be viewed at https://pascalmichaillat.o
+ The first time that you push your repository to GitHub, you need to allow GitHub Actions and GitHub Pages so the website can be built and deployed to GitHub Pages.
+ The first step is to [ask GitHub to publish the website with a GitHub Action](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow). GitHub offers a ready-made action to publish a Hugo website, called `Deploy Hugo site to Pages`. This action must be enabled in the [Pages Settings](https://github.com/pmichaillat/hugo-website/settings/pages) of your GitHub repository. You can view the workflow triggered by the action in the `.github/workflows/hugo.yml` file.
+ Once the GitHub Actions are enabled, GitHub will build and publish the website as soon as the repository is updated.
+ If you would like to update the deployment action (for instance because it became outdated and fails to deploy the site), you can find the [most recent action on GitHub]( https://github.com/actions/starter-workflows/blob/main/pages/hugo.yml). You can place this file directly in the `.github/workflows` folder to replace the old `hugo.yml` file.

## Usage

Expand All @@ -37,7 +38,7 @@ Once your website is ready to be made public, run `hugo` in the terminal from th

### Deployment

With GitHub Desktop, commit the changes and push them to the website repository on GitHub. Then, [GitHub Actions](https://github.com/pmichaillat/hugo-website/actions/workflows/hugo.yml) build the website and deploy it to [GitHub Pages](https://github.com/pmichaillat/hugo-website/deployments/github-pages).
With GitHub Desktop, commit the changes and push them to the website repository on GitHub. Then, the [GitHub Action](https://github.com/pmichaillat/hugo-website/actions/workflows/hugo.yml) builds the website and deploys it to [GitHub Pages](https://github.com/pmichaillat/hugo-website/deployments/github-pages).

## Performance

Expand All @@ -51,7 +52,9 @@ And here is an overview of the desktop performance:

## Software

The website was built with Hugo v0.124.1 on an Apple Silicon Mac running macOS Sonoma 14.4.1.
The website was built with Hugo v0.128.2 on an Apple Silicon Mac running macOS Sonoma 14.5.

While the template should also work on other operating systems and with other versions of Hugo, compatibility cannot be guaranteed. Users on Windows or Linux systems, or those using different Hugo versions, may need to make minor adjustments. Please report any compatibility issues or bugs you encounter to help improve cross-platform support.

## License

Expand Down
2 changes: 1 addition & 1 deletion public/books/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Books on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/books/</link>
<description>Recent content in Books on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Wed, 08 May 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/books/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/courses/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Courses on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/courses/</link>
<description>Recent content in Courses on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/courses/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/data/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Data on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/data/</link>
<description>Recent content in Data on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/data/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" dir="auto">

<head>
<meta name="generator" content="Hugo 0.125.1"><meta charset="utf-8">
<meta name="generator" content="Hugo 0.128.2"><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
Expand Down
2 changes: 1 addition & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/</link>
<description>Recent content on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/papers/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Papers on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/papers/</link>
<description>Recent content in Papers on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/papers/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/canine-pulmonary-efficiency/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Canine Pulmonary Efficiency on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/canine-pulmonary-efficiency/</link>
<description>Recent content in Canine Pulmonary Efficiency on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/canine-pulmonary-efficiency/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/canine-science/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Canine Science on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/canine-science/</link>
<description>Recent content in Canine Science on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/canine-science/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/celtic-languages/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Celtic Languages on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/celtic-languages/</link>
<description>Recent content in Celtic Languages on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/celtic-languages/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/dataset/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Dataset on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/dataset/</link>
<description>Recent content in Dataset on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/dataset/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/experimental-zoology/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Experimental Zoology on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/experimental-zoology/</link>
<description>Recent content in Experimental Zoology on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/experimental-zoology/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/french/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>French on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/french/</link>
<description>Recent content in French on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/french/index.xml" rel="self" type="application/rss+xml" />
Expand Down
2 changes: 1 addition & 1 deletion public/tags/history-of-oil/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>History of Oil on Moritz-Maria von Igelfeld</title>
<link>https://pascalmichaillat.org/hugo-website/tags/history-of-oil/</link>
<description>Recent content in History of Oil on Moritz-Maria von Igelfeld</description>
<generator>Hugo -- 0.125.1</generator>
<generator>Hugo -- 0.128.2</generator>
<language>en</language>
<lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pascalmichaillat.org/hugo-website/tags/history-of-oil/index.xml" rel="self" type="application/rss+xml" />
Expand Down
Loading

0 comments on commit d5b3938

Please sign in to comment.