Skip to content

Fixed cache-articles.rb to work with GitHub Actions. #6

Fixed cache-articles.rb to work with GitHub Actions.

Fixed cache-articles.rb to work with GitHub Actions. #6

Workflow file for this run

name: Build HTML pages from Markdown
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: 3.0 # Choose the Ruby version you need
- name: Install Kramdown
run: |
gem install kramdown
gem install kramdown-parser-gfm
- name: Install ERB
run: gem install erb
- name: Convert Markdown to HTML
run: |
mkdir articles-html
ruby cache-articles.rb