Commit graph

3 commits

Author SHA1 Message Date
Philipp Winter
1b540a56e5 Only run the build for pull requests.
No need to run it for every single push.
2024-03-10 15:09:33 -05:00
Philipp Winter
6eed967a62 Replace "main" with "master".
...the gift that keeps on giving.
2024-03-10 14:39:23 -05:00
Philipp Winter
1eeb1267b3 Add workflows to build and deploy.
This commit adds two GitHub workflows that build and deploy CensorBib.

The "build" workflow is run on every push and verifies the validity of
the .bib file -- as seen by our build tool and *not* by LaTeX!

The "deploy" workflow is run whenenver a branch is merged into master,
at which point CensorBib is automatically built and deployed via GitHub
pages.  This means has two advantages:

* First, I no longer need to manually build and deploy CensorBib, and
  can point the domain censorbib.nymity.ch to GitHub pages.

* Second, CensorBib will also be available under
  https://nullhypothesis.github.io/censorbib/
  which may be helpful to users for who my domain is blocked.
2024-03-10 12:08:10 -05:00