Files
dotfiles/gen-gh-pages/compile.sh
Ivan Malison 444af768fc 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>
2026-01-13 23:53:44 -08:00

26 lines
596 B
Bash
Executable File

#!/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
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Use system emacs or EMACS environment variable
EMACS="${EMACS:-emacs}"
cd "$THIS_DIR"
# Install cask dependencies if needed
if [ ! -d ".cask" ]; then
cask install
fi
# 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"