Fix edge cases like when there are no extra images #195
Workflow file for this run
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: Jekyll CI | |
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
- 'tests/feedcheck*.rb' | |
- .github/workflows/feeds.yml | |
branches: [ master ] | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- 'tests/feedcheck*.rb' | |
- .github/workflows/feeds.yml | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1.172.0 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Install Dependencies | |
run: bundler install | |
- name: Configure Feed Cache | |
uses: actions/cache@v4 | |
with: | |
path: planet.db | |
key: cache-feed-sources-${{ hashFiles('Gemfile.lock') }} | |
- name: Get Feed Content | |
run: bundler exec rake | |
- name: Proccess Feed Content | |
run: bundler exec rake build | |
- name: Build Jekyll Site | |
run: bundler exec jekyll build |