Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik committed Mar 12, 2024
1 parent a873a9f commit ebb8d0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/algolia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
hugo-algolia --config config/_default/config.yaml
- name: Build Go binary
run: go build -o adjust-algolia-output tools/adjust-algolia-output/main.go
run: |
cd tools/adjust-algolia-output
go build -o /usr/local/bin/adjust-algolia-output
- name: Adjust algolia.json using binary
run: ./adjust-algolia-output < ./public/algolia.json | jq > public/algolia_final.json
run: adjust-algolia-output < ./public/algolia.json | jq > public/algolia_final.json

- name: Install Node.js
uses: actions/setup-node@v2
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ nohup.out
trace.out
.idea
node_modules
.hugo_build.lock
.hugo_build.lock
adjust-algolia-output

0 comments on commit ebb8d0c

Please sign in to comment.