BeBOP-OBON / 0_protocol_collection_template

Collection of biomolecular protocol templates for an organization
4 stars 4 forks source link

Adding GitHub Action for creating pdfs from markdown files #6

Open MathewBiddle opened 2 years ago

MathewBiddle commented 2 years ago

This change adds a GH Action for creating pdfs from all the markdown files found in the root directory (excluding README.md), saves them to pdf/ (using the same file names, then pushes them back to main.

This also adds the pdfs to the repository.

Could be improved to:

  1. Only run when markdown files are edited.
  2. Create prettier pdf files (see pandoc documentation)

But at least it accomplishes the goal for now.

You might need to edit the settings of the repository to allow read/write permissions for the Action. See Settings > Actions > General > Workflow permissions. Select Read and write permissions.

Closes #1