Skip to content

Omochice/action-podeno

Repository files navigation

action-podeno

Run podeno in your github action.

usage

jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: Omochice/[email protected]
        with:
          # config: { type: "markdown" | "vimdoc", in: string, out: string, autoMkdir?: boolean }[]
          #   type: Convert target type.
          #   in: Input file path.
          #   out: Output file path.
          #   autoMkdir: Whether make output parent directory. (default: false)
          config: |
            [
              { type: "markdown", in: "README.pod", out: "README.md", },
            ]
      # If you want to auto commit...
      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "docs: update docs"
          branch: ${{ github.head_ref }}