Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically deploy CensorBib. #28

Merged
merged 7 commits into from
Mar 10, 2024
Merged

Automatically deploy CensorBib. #28

merged 7 commits into from
Mar 10, 2024

Conversation

NullHypothesis
Copy link
Owner

This PR automatically builds and deploys CensorBib after merging a change.

bibliogra.py requires Python 2, which is a pain to deal with.  This
commit adds a Go tool that compiles CensorBib from BibTeX to HTML.  The
tool does the bare minimum and is quite strict in the BibTeX format it
expects.
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.
Remove now-obsolete text and add contribution guidelines.
The background of the text boxes is slightly darker than it should be.
@NullHypothesis NullHypothesis merged commit 0b6064c into master Mar 10, 2024
1 check passed
@NullHypothesis NullHypothesis deleted the auto-deploy branch March 10, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant