Delete .github/workflows/build.yml
Some checks failed
Jekyll site CI / docker (push) Failing after 2m45s
Some checks failed
Jekyll site CI / docker (push) Failing after 2m45s
This commit is contained in:
parent
88998ffb64
commit
0de2eb95de
47
.github/workflows/build.yml
vendored
47
.github/workflows/build.yml
vendored
@ -1,47 +0,0 @@
|
|||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user