Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Feb 12, 2024
1 parent 2289ba7 commit f603c0d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion themes/devlog-theme

0 comments on commit f603c0d

Please sign in to comment.