Skip to content

Commit

Permalink
Use generic name for CI + add README
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed May 25, 2020
1 parent fbd5654 commit 63c2ea6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build LaTeX document
# Trigger the workflow on push or pull request
on: [push, pull_request]
env:
FINAL_FILENAME: Yakoub_13861700_2020.pdf
FINAL_FILENAME: thesis_final.pdf
MAIN_LATEX: thesis.tex
DATE_TIMEZONE: Europe/Brussels

Expand Down Expand Up @@ -57,4 +57,4 @@ jobs:
replace_assets: true
assets: ${{ env.FINAL_FILENAME }}
initial_mrkdwn: Release auto-generated by Github Actions 🎉
github_token: ${{ github.token }}
github_token: ${{ github.token }}
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Template for EPL's UCLouvain Ph.D. Theses

This repository contains a template to write your thesis with the CIACO's requirements.
Just look at thesis.tex and start writing :-)

NB: For the bibliography, use Biber instead of BibTex.

## Continuous Integration with GitHub

If you use GitHub to host your repository, you can leverage the GitHub Actions to auto-generate the thesis PDF.
For this, you have a few environment variables to configure this workflow:

| env variable | purpose |
|---|---|
| **MAIN_LATEX** | The entry point of your thesis (here it is thesis.tex) |
| **FINAL_FILENAME** | The final name of the file, which follows the naming conventions of the UCLouvain (for example : Yakoub_13861700_2020.pdf ) |
| **DATE_TIMEZONE** | The timezone for release (by default, Github uses GMT timezone) |

Then in the Actions tab of your GitHub repository, you can build the thesis.

0 comments on commit 63c2ea6

Please sign in to comment.