| layout | title |
|---|---|
pubtex |
PubTeX |
This is a template for publicly hosting LaTeX files with GitHub actions.
It roughly works as follows:
- You write your latex files as you would normally
- Whenever you push your changes to
main, your files are compiled and pushed to thegh-pagesbranch. - You can now download them directly or publish the branch with GitHub Pages
You also get this nice front page for free :)
- Use this template (you only need to include the
mainbranch) - List all
.texfiles you want to compile in.github/workflows/publish.ymlunder thefilesoption - If you want to generate handouts for some Beamer slides, list those files under the
handoutsoption - Create SSH deploy key
- (optional) Enable GitHub Pages for the
gh-pagesbranch
| Name | 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 |