This is a template for publicly hosting LaTeX files with GitHub actions.
It roughly works as follows:
main
, your files are compiled and pushed to the gh-pages
branch.You also get this nice front page for free :)
main
branch).tex
files you want to compile in .github/workflows/publish.yml
under the files
optionhandouts
optiongh-pages
branchName | Description | Default |
---|---|---|
deploy_key |
Deploy key used to deploy to GitHub Pages | |
files |
Space-separated list of files that should be compiled | |
handouts |
Space-separated list of Beamer files that handouts should be generated for | |
publish_dir |
The directory that should be published with GitHub Pages | dist |
index_page |
Path to the Markdown file that should be the main page | README.md |
pre_compile_command |
Command to run before compiling LaTeX sources | tlmgr update --self && tlmgr update --all |