Skip to content

Fixed thumbnail choosing on blog posts #39

Fixed thumbnail choosing on blog posts

Fixed thumbnail choosing on blog posts #39

Workflow file for this run

name: Build site
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches:
- master
pull_request: {}
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
build_site:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Ruby
uses: ruby/setup-ruby@4c56a21280b36d862b5fc31348f463d60bdc55d5
with:
ruby-version: '3.3.5'
bundler-cache: true
- name: Install Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: 3.10.5
architecture: x64
- name: Build Jekyll site
run: bundle exec jekyll build
- name: Install Pagefind Python
run: python -m pip install "pagefind[extended]==1.5.2"
- name: Index site with Pagefind
run: python3 -m pagefind
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
name: Upload Pages artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9
with:
path: '_site'
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128