All Projects → maxheld83 → pandoc-action

maxheld83 / pandoc-action

Licence: GPL-2.0 license
github action to run pandoc, soft-deprecated ->

Projects that are alternatives of or similar to pandoc-action

bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (-38.46%)
Mutual labels:  continuous-delivery, github-actions
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+71.79%)
Mutual labels:  continuous-delivery, github-actions
Cml
♾️ CML - Continuous Machine Learning | CI/CD for ML
Stars: ✭ 2,843 (+7189.74%)
Mutual labels:  continuous-delivery, github-actions
noise-php
A starter-kit for your PHP project.
Stars: ✭ 52 (+33.33%)
Mutual labels:  continuous-delivery, github-actions
github-docker
⚓ Build and publish your repository as a Docker image and push it to GitHub Package Registry in one step.
Stars: ✭ 33 (-15.38%)
Mutual labels:  continuous-delivery, github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (-5.13%)
Mutual labels:  continuous-delivery, github-actions
Pandoc Action Example
using the pandoc document converter on GitHub Actions
Stars: ✭ 131 (+235.9%)
Mutual labels:  continuous-delivery, pandoc
django-step-by-step
A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
Stars: ✭ 86 (+120.51%)
Mutual labels:  github-actions
bitops
Automate the provisioning and configuration of cloud infrastructure.
Stars: ✭ 28 (-28.21%)
Mutual labels:  continuous-delivery
deploy-to-vercel-action
🎬▲ Deploy your project to Vercel using GitHub Actions. Supports PR previews and GitHub deployments.
Stars: ✭ 84 (+115.38%)
Mutual labels:  github-actions
jr.mitou.org
未踏ジュニアの公式Webサイトです! YAML ファイルで更新できます 🛠💨
Stars: ✭ 17 (-56.41%)
Mutual labels:  github-actions
software-factory
The ready to use Continuous Integration platform
Stars: ✭ 17 (-56.41%)
Mutual labels:  continuous-delivery
chicio.github.io
👻 Fabrizio Duroni (me 😄) personal website. Created using GatsbyJS, Styled Components, Storybook, Typescript, tsParticles, GitHub pages, Github Actions, Upptime.
Stars: ✭ 20 (-48.72%)
Mutual labels:  github-actions
dissertation-story
My philosophy dissertation + cloud backup + version control. Written in plaintext Markdown with Sublime Text 3.
Stars: ✭ 14 (-64.1%)
Mutual labels:  pandoc
slsa-provenance-action
Github Action implementation of SLSA Provenance Generation
Stars: ✭ 34 (-12.82%)
Mutual labels:  github-actions
ghaction-virustotal
GitHub Action to upload and scan files with VirusTotal
Stars: ✭ 105 (+169.23%)
Mutual labels:  github-actions
jsdoc-action
📖 GitHub Action to build JSDoc documentation
Stars: ✭ 61 (+56.41%)
Mutual labels:  github-actions
no-free-usage-action
A NO-FREE-USAGE action for github. (Only worked with github action.)
Stars: ✭ 51 (+30.77%)
Mutual labels:  github-actions
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (-35.9%)
Mutual labels:  github-actions
action-pr-title
Github action to enforce Pull Request title conventions
Stars: ✭ 83 (+112.82%)
Mutual labels:  github-actions

GitHub Action to Convert Documents via Pandoc

Actions Status

Soft-Deprecation: Better Alternatives

This action is soft-deprecated, because you no longer need it.

This action will remain listed, but will no longer receive major updates.

There are now two better ways to use pandoc on GitHub Actions:

Container Actions

You can now directly reference container actions on GitHub Actions.

You can continue to use the pandoc containers on GitHub Actions, but now you can just reference it by, say, uses: docker://pandoc/latex:2.9 instead of uses: maxheld83/pandoc@v2.

To learn more about using pandoc on GitHub Actions in this way, see these examples.

setup-pandoc Action

In the above, you're using pandoc from a pre-build docker image, that you're running as a container on your GitHub Actions host machine.

Alternatively, you can use Jim Hester's setup-pandoc action. This action will accept a pandoc-version as an input and install the respective version directly into your GitHub Actions host machine. This may take longer (?), and does not include LaTeX, but you can use pandoc in any of your steps and can even run a matrix build over different pandoc versions.


This action lets you use pandoc, the swiss army knife of document conversion.

It is based on the pandoc/latex docker image and thus ships with LaTeX, so you can also convert right through to PDF.

The action currently uses pandoc 2.6 and will be upgraded periodically. If you would like to see an upgrade, please file an issue.

Inputs

None.

Outputs

None.

Secrets

None.

Environment Variables

None.

Example Usage

The string passed to args gets appended to the pandoc command. The below example is equivalent to running pandoc --help.

name: Document Conversion

on: push

jobs:
  convert_via_pandoc:
    name: Convert via Pandoc
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - uses: maxheld83/pandoc@v2
        with:
          args: "--help"

Advanced Usage

You can:

  • create an output directory to compile into; makes it easier to deploy outputs.
  • upload the output directory to GitHub's artifact storage; you can quickly download the results from your GitHub Actions tab in your repo.
name: Document Conversion

on: push

jobs:
  convert_via_pandoc:
    name: Convert via Pandoc
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - run: mkdir output
      - run: echo "foo" > input.txt
      - uses: maxheld83/pandoc@v2
        with:
          args: "--standalone --output=output/index.html input.txt"
      - uses: actions/upload-artifact@master
        with:
          name: output
          path: output
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].