Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

24 changes: 14 additions & 10 deletions .github/workflows/build-deploy.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,46 @@
# Based on https://github.com/actions/upload-pages-artifact

name: build-deploy
name: build

on:
pull_request:
push:
branches:
- master
schedule:
- cron: '49 14 * * 3'
- cron: "49 14 * * 3"
workflow_dispatch:

permissions: {}

jobs:
build:
runs-on: ubuntu-latest
# container: alpine:edge
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: true

- name: Configure toolchain (rake configure)
run: rake configure
- name: Install dependencies
run: sudo snap install --edge zola

- name: Show package info (rake info)
run: rake info
- name: Build site
# TODO: This may become a wrapper scriptin order to do KaTeX or create
# page aliases
run: |
zola build && tree public/

- name: Build site (rake)
run: rake
# TODO: Steps below are loosely copied from Jekyll version; paths may need
# changing

- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: _site/
path: public/

- name: Push site build to static branch
# For portability, maintain a static branch with the site build checked
Expand All @@ -49,7 +53,7 @@ jobs:
git config --local push.autoSetupRemote true
git switch -C static
git reset --hard origin/master
git add -f _site/
git add -f public/
git status
git commit -m "Automatic site build"
git push -f
Expand Down
15 changes: 1 addition & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata

# bundle install local targets
vendor

# Managed by Rakefile
.bundle/config

# `bundle install` produces a slightly different lockfile on different Linux
# distributions
Gemfile.lock
public/
5 changes: 0 additions & 5 deletions .nojekyll

This file was deleted.

14 changes: 0 additions & 14 deletions 404.md

This file was deleted.

35 changes: 0 additions & 35 deletions Gemfile

This file was deleted.

220 changes: 0 additions & 220 deletions Rakefile

This file was deleted.

Loading
Loading