/weblorg-action

This is a GitHub Action to publish org-mode files to a blog using the weblorg package

MIT LicenseMIT

Weblorg Action

This repo provides a GitHub action to allow you to publish org-mode files to html files for a blog using the weblorg emacs package. I use this action to publish my org-mode files to my blog: https://blog.ethancpost.com.

This action uses the weblorg image I maintain a fork of. This image is just a emacs 29 docker image with weblorg installed.

Action Parameters

This action has the following inputs that can be configured:

pre_build_script
used to specify a custom elisp script to be run before website build.
post_build_script
used to specify a custom elisp script to be run after website build.
weblorg_defn
used to specify a custom elisp script to build the website.

Usage

name: Publish
on:
  push:
    branches:
      - master

jobs:
  deploy:
    runs-on: ubuntu-latest

  steps:
    - name: Checkout
      uses: actions/checkout@v4

    - name: Publish Org Files
      uses: maker2413/weblorg-action@v1.0.0