28 Commits
Author SHA1 Message Date
Bjørn Erik Pedersen e09fcd0f5c Fix update workflow
There seem to be a bug in Git 2.54.0 leading to "fatal: shallow file has changed since we read it" errors.

I have confirmed this fix in a test repo.

Fixes #773
2026-08-29 17:50:33 +02:00
Bjørn Erik Pedersen f4dc63bf42 github: Update Go/Hugo version in update flow 2026-08-29 16:04:51 +02:00
Bjørn Erik Pedersen 57f28e270e Update Go version in update-themes workflow 2026-08-10 14:57:54 +02:00
Bjørn Erik Pedersen 5b5bea7711 github: Update actions versions 2026-04-29 16:44:05 +02:00
Bjørn Erik Pedersen f78286e801 Make the build process more robust 2025-10-15 12:36:39 +02:00
simone-weiss 77430ff24c ci: Do not fail when there is nothing to commit
When there is nothing to commit ci will fail with:

nothing to commit, working tree clean
Error: Process completed with exit code 1.

This was reported as #287.
Catch this by checking via `git diff-index` if there is anything to commit first.
2025-08-27 09:34:07 +02:00
Bjørn Erik Pedersen b7a4a3b447 github: Bump versions
```
ghat swot -d .
```
2025-04-11 09:50:15 +02:00
Bjørn Erik Pedersen 96c030847e Bump Hugo/Go version in GitHub workflow 2025-01-06 09:50:23 +01:00
Bjørn Erik Pedersen 65bd6aa715 github: Update Hugo version 2024-11-01 10:06:52 +01:00
Bjørn Erik Pedersen 1376f96ac9 Bump Hugo to 0.125.6 2024-05-08 11:30:15 +02:00
Bjørn Erik Pedersen 73f36f7549 Use unreleased Hugo
See #447
2024-04-22 13:51:29 +02:00
Sid 2d519d6391 ci(GitHub action): bump actions/checkout to v4 & actions/setup-go to v5 (#426)
* ci(GitHub action): bump actions/checkout to v4 & actions/setup-go to v5

* ci: set bash as default shell, move committing changes to a different step

* fix: remove hugo-bootstrap-freelancer-template

* fix: remove github.com/shenoybr/hugo-goa which causes GitHub action failure
2024-03-22 15:45:16 +05:30
Bjørn Erik Pedersen 25ce337c71 Simplify the GitHub repo cache setup and add it to the GitHub action 2023-10-29 13:49:13 +01:00
Bjørn Erik Pedersen 92c4c53b81 Add hugo mod tidy
And some other cleanups.
2023-10-29 10:48:34 +01:00
Bjørn Erik Pedersen f844650f27 Make the build more robust
Most notably:

* Make sure that conig.json is recreated on every build.
* Also create that file as the first part of the "version updates"

This should allow for both deletions/mods in both themes.txt and go.mod to work around missing refs etc.

If this isn't good enough, we could consider just adding the go.mod to .gitignore.
2023-10-29 10:22:00 +01:00
Bjørn Erik Pedersen f357ea9c08 github actions: Remove the cache step 2023-09-29 09:37:33 +02:00
Bjørn Erik Pedersen dd53936468 github actions: Misc updates/fixes
* Install a specific Hugo version
* Remove the -u flag from updates (we don't want/care about transitive updates)
* Change name
2023-09-29 09:21:06 +02:00
Bjørn Erik Pedersen ee47b4cb99 Fix tags, rebuild cache
Fixes #345
2023-09-01 11:36:57 +02:00
Bjørn Erik Pedersen d2593bc1f2 github: Reintroduce the git user config 2023-04-14 18:20:14 +02:00
Bjørn Erik Pedersen e6c24c0b2b github: Remove the github user config
Fixes #288
2023-03-29 17:34:38 +02:00
peaceiris 230b9c533b ci: bump actions/checkout from v2 to v3 2023-03-29 17:28:38 +02:00
Shohei Ueda 1bd2f89fa1 ci: bump versions (#254)
* chore: apply format

* ci: bump go from 1.16.5 to 1.19.5

* ci: bump actions/setup-go from v2 to v3

* ci: bump hugo from 0.103.1 to 0.110.0
2023-03-08 11:50:02 +01:00
Bjørn Erik Pedersen 11886ed005 github: Upgrade to actions/cache@v3 2022-12-18 15:40:04 +01:00
Bjørn Erik Pedersen 316363858e Update update-themes.yml 2022-12-09 14:29:46 +01:00
Bjørn Erik Pedersen 9114f76513 Update update-themes.yml 2022-09-20 17:09:19 +02:00
Bjørn Erik Pedersen 7beed7eeec github: Update Hugo version in update script
See #217
2022-09-19 12:41:34 +02:00
Shohei Ueda 6aa618d7e1 Fix HUGO_CACHEDIR 2021-07-10 19:25:33 +02:00
Bjørn Erik Pedersen 8c5c8fd8ae Add workflow to update themes
I'm pretty sure this doesn't work out of the box ...
Updates #8
2021-07-05 21:20:52 +02:00