Skip to content

Commit

Permalink
chore: add install Hugo CLI step
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-baiborodine committed May 5, 2024
1 parent df374de commit 17ae2f4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/upload-data-to-algolia-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ jobs:
env:
HUGO_VERSION: 0.109.0
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Git Checkout
uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Build Site
run: hugo

- name: Upload Data
working-directory: ./algolia
run: |
Expand Down

0 comments on commit 17ae2f4

Please sign in to comment.