-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2289ba7
commit f603c0d
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,12 +68,6 @@ jobs: | |
# IMPORTANT: Fetch the whole history. This is how Hugo determines the (publish) dates for the articles!!! | ||
fetch-depth: 0 | ||
|
||
# This creates ${{ steps.short-sha.outputs.sha }} to be used below. | ||
# See: https://github.com/marketplace/actions/short-sha | ||
- name: Provide short commit hash to workflow | ||
id: short-sha | ||
uses: benjlevesque/[email protected] | ||
|
||
- name: Download node modules (assets) | ||
run: npm install | ||
working-directory: themes/devlog-theme/assets | ||
|
@@ -102,6 +96,12 @@ jobs: | |
run: npx pagefind --site "../../../public" | ||
working-directory: themes/devlog-theme/assets | ||
|
||
# This creates ${{ steps.short-sha.outputs.sha }} to be used below. | ||
# See: https://github.com/marketplace/actions/short-sha | ||
- name: Provide short commit hash to workflow | ||
id: short-sha | ||
uses: benjlevesque/[email protected] | ||
|
||
- name: Determine Hugo version | ||
id: hugo-version | ||
run: hugo version | sed -r 's/hugo v([0-9.]+).*/version=\1/' >> $GITHUB_OUTPUT | ||
|