Skip to content

test systemcrafter's website publishing strategy #2

test systemcrafter's website publishing strategy

test systemcrafter's website publishing strategy #2

Workflow file for this run

name: Publish to GitHub Pages
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v1
- name: Check out the style repo
run: git clone --depth 1 https://git.sr.ht/~daviwil/daviwil.com daviwil.com
- name: Install Emacs
uses: purcell/setup-emacs@master
with:
version: 27.2
- name: Build the site
run: |
cp -R daviwil.com/public .
emacs --batch -l ./publish.el --funcall dw/publish
- name: Link Checker
uses: lycheeverse/lychee-action@v1.0.8
with:
args: --verbose --no-progress ./public/**/*.html
- name: Publish generated content to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: gh-pages
folder: public