Go to the Actions
tab in your forked repo, and click the green button that says "I understand my actions, go ahead and enable them".
Follow these steps and make sure that you check the repo, admin:repo_hook and workflow boxes while creating your access token.
Simply follow these steps.
The name of the secret must be PAT_BOT
and the value must be the key you obtained from the previous step.
It can be anything, such as simply editing this README.md
file you are reading at the moment.
After pushing your changes to the master
branch, visit the Actions tab of your repository. You should see an action named Build proceeding PDF, which consists of two steps buildPDF
and buildHugo
.
Soon after a successful action run, your web page will be deployed. You should see Environments section appeared in your repository (on the right column). In the Environments page, click the View Deployment
button to visit your report page! At this stage, it should be identical to the BrainHack proceedings template webpage.
Unless you change the name of the repo you forked from template
to something else, your page will be published at your_GitHub_handle.github.io/template.
-
Place your figures in the
figures
folder. -
Edit
report.md
file to create your own report. The template markdown will walk you through how to cite references, add figures and equations etc. -
Edit
report.bib
to add your bibliography in BibTeX format.
Please do not change the name or the location of report.md and report.bib. Unless you provide an absolute path for your figures, they will be looked for in the figures folder. |
Whenever you push your changes to the master
branch (either directly or via merging a branch), GitHub actions will be triggered to update your report. That's it!
If actions run completes successfully, 🟠 (running) will turn into ✅ (success). If your build fails, you will see ❌ instead. In that case, you can read the logs to see what went wrong.