Migrate gen-gh-pages from Travis CI to GitHub Actions

- Add GitHub Actions workflow using peaceiris/actions-gh-pages
- Update README.org badge and documentation to reference GitHub Actions
- Simplify compile.sh for local use (removes Travis-specific evm setup)
- Mark deploy.sh as deprecated (workflow handles deployment now)
- Remove deploy_key.enc (no longer needed, uses GITHUB_TOKEN)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-13 23:53:44 -08:00
parent f2ca4f3530
commit 444af768fc
5 changed files with 82 additions and 79 deletions

View File

@@ -1,20 +1,25 @@
#!/usr/bin/env bash
# Local compilation script for generating HTML from README.org
# Note: For CI, this is now handled by GitHub Actions (.github/workflows/gh-pages.yml)
set -e
export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH"
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TARGET=$(readlink -f "$THIS_DIR/../dotfiles/emacs.d/README.org")
# Use system emacs or EMACS environment variable
EMACS="${EMACS:-emacs}"
git clone https://github.com/rejeep/evm.git "$HOME/.evm"
evm config path /tmp
evm install emacs-25.1-travis --use --skip
export EMACS="$(evm bin)"
cd "$THIS_DIR"
git clone https://github.com/cask/cask
export PATH=$(pwd)/cask/bin:$PATH
# Install cask dependencies if needed
if [ ! -d ".cask" ]; then
cask install
fi
cask install
# Generate HTML
cask exec "$EMACS" --script generate-html.el
# Move the generated file
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .
echo "Generated README.html in $THIS_DIR"