Update Algolia index with GH Actions
This commit is contained in:
47
.github/workflows/build.yml
vendored
Normal file
47
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
workflow_dispatch: {}
|
||||||
|
repository_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository == 'mmistakes/minimal-mistakes'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '3.2'
|
||||||
|
- name: Setup cache for Bundler
|
||||||
|
id: cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
docs/Gemfile.lock
|
||||||
|
docs/vendor/bundle
|
||||||
|
key: ${{ runner.os }}-bundler-${{ hashFiles('docs/Gemfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bundler-
|
||||||
|
|
||||||
|
- name: Install - Bundler
|
||||||
|
env:
|
||||||
|
MAKE: make -j2
|
||||||
|
working-directory: docs/
|
||||||
|
run: |
|
||||||
|
bundle config set path vendor/bundle
|
||||||
|
bundle install --jobs=4 --retry=3
|
||||||
|
bundle clean
|
||||||
|
|
||||||
|
- name: Update Algolia index
|
||||||
|
working-directory: docs/
|
||||||
|
run: bundle exec jekyll algolia push
|
||||||
|
env:
|
||||||
|
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
|
||||||
|
continue-on-error: true
|
@ -13,6 +13,10 @@
|
|||||||
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
||||||
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Automatically update Algolia search index with GitHub Actions.
|
||||||
|
|
||||||
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
@ -5,7 +5,7 @@ permalink: "/docs/history/"
|
|||||||
excerpt: Change log of enhancements and bug fixes made to the theme.
|
excerpt: Change log of enhancements and bug fixes made to the theme.
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: '2024-06-25T23:56:59+08:00'
|
last_modified_at: '2024-06-27T21:13:13+08:00'
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -28,6 +28,10 @@ toc: false
|
|||||||
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
- Replace a redirected link to MadeMistakes in footer. [#4882](https://github.com/mmistakes/minimal-mistakes/pull/4882)
|
||||||
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
- Fix wrong float direction for `feature_row` with `type="right"`. [#4061](https://github.com/mmistakes/minimal-mistakes/issues/4061)
|
||||||
|
|
||||||
|
### Documentation & Maintenance
|
||||||
|
|
||||||
|
- Automatically update Algolia search index with GitHub Actions.
|
||||||
|
|
||||||
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
## [4.26.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.26.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
Reference in New Issue
Block a user