chore: set Hugo version to 0.109.0 #132
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
name: Upload Data to Algolia Index | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
upload_data: | |
runs-on: ubuntu-latest | |
env: | |
HUGO_VERSION: 0.109.0 | |
steps: | |
- 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: | | |
npm install | |
npm run data-upload -- -c \ | |
-f ../public/index.json \ | |
-a 810O6T2B5U \ | |
-k ${{ secrets.ALGOLIA_ADMIN_API_KEY }} \ | |
-n prod_bilberry_sandbox |