Liam Hupfer
2025-06-29 12:57:39 -05:00
parent a53ccbf485
commit bd5aec066b
3 changed files with 20 additions and 36 deletions

View File

@ -1,6 +1,7 @@
---
# * docs.yml --- Build the documentation and publish to Github Pages # * docs.yml --- Build the documentation and publish to Github Pages
name: "Docs" name: Docs
on: on:
push: push:
branches: branches:
@ -9,23 +10,19 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
fail-fast: true
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Install deps - name: Install deps
run: | run: sudo apt install texinfo
sudo apt-get install texinfo
- name: Build docs - name: Build docs
continue-on-error: false
run: make html run: make html
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3 uses: JamesIves/github-pages-deploy-action@releases/v4
with: with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} token: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to. branch: gh-pages # The branch the action should deploy to.
FOLDER: doc # The folder the action should deploy. folder: doc
CLEAN: true clean: true

View File

@ -1,7 +1,4 @@
# * test.yml --- Test Emacs packages using makem.sh on GitHub Actions ---
# https://github.com/alphapapa/makem.sh
# Based on Steve Purcell's examples at # Based on Steve Purcell's examples at
# <https://github.com/purcell/setup-emacs/blob/master/.github/workflows/test.yml>, # <https://github.com/purcell/setup-emacs/blob/master/.github/workflows/test.yml>,
# <https://github.com/purcell/package-lint/blob/master/.github/workflows/test.yml>. # <https://github.com/purcell/package-lint/blob/master/.github/workflows/test.yml>.
@ -23,7 +20,7 @@
# * Code: # * Code:
name: "CI" name: CI
on: on:
pull_request: pull_request:
push: push:
@ -47,10 +44,10 @@ jobs:
with: with:
version: ${{ matrix.emacs_version }} version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v2
- name: Install Eldev - name: Install Eldev
run: curl -fsSL https://raw.github.com/org-roam/org-roam/master/github-eldev | sh uses: emacs-eldev/setup-eldev@v1
- uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: make prepare run: make prepare
@ -60,6 +57,7 @@ jobs:
- name: Test - name: Test
run: make test run: make test
# Local Variables: # Local Variables:
# eval: (outline-minor-mode) # eval: (outline-minor-mode)
# End: # End:

View File

@ -1,11 +0,0 @@
#! /bin/sh
set -e
ELDEV_BIN_DIR=~/.local/bin
# `$GITHUB_PATH' is a magic file which contents is translated to environment variable `$PATH'.
echo "$ELDEV_BIN_DIR" >> $GITHUB_PATH
mkdir -p $ELDEV_BIN_DIR
curl -fsSL https://raw.githubusercontent.com/doublep/eldev/f111d19cda305e5e8fcb70a5675b87173041cb68/bin/eldev > $ELDEV_BIN_DIR/eldev
chmod a+x $ELDEV_BIN_DIR/eldev