Skip to content

FalcoSuessgott/mdtmpl-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

mdtmpl action

Github Action running mdtmpl

Usage

name: mdtmpl

on:
  push:
    branches:
      - 'main'
      - 'master'

# required to commit the specified output file back to the branch
permissions:
    contents: write

jobs:
  mdtmpl:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: FalcoSuessgott/mdtmpl-action@v1
        with:
          # specify the template file (default: README.md.tmpl)
          template-file: README.md.tmpl
          # specify the output file (default: README.md)
          output-file:  README.md

        # this step commits the output-file back to the repo. Check: https://github.com/stefanzweifel/git-auto-commit-action
      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "docs(vars): update README generated with mdtmpl"

About

Github Action for https://github.com/FalcoSuessgott/mdtmpl

Resources

Stars

Watchers

Forks

Packages

No packages published