项目作者: verkilo

项目描述 :
Readme Writer is a Docker container that auto-generates a compound README from Markdown files within the repository. It looks for all content between two comment tags, then inserts them in a README based on a template using the Liquid template language.
高级语言: Ruby
项目地址: git://github.com/verkilo/readme-writer.git
创建时间: 2020-05-08T13:35:07Z
项目社区:https://github.com/verkilo/readme-writer

开源协议:

下载


Readme Writer Bot

Readme Writer is a Docker container that auto-generates a compound README from Markdown files within the repository. It looks for all content between two comment tags, then inserts them in a README based on a template using the Liquid template language. (docker://merovex/readme-writer:latest)

Configuration

The following Github Action workflow should be added. Your repository name needs to be added

  1. # Name: Compile Readme
  2. #
  3. # Description: This Github Action runs on each push to dynamically build
  4. # the repository's README based on the template and other Markdown files
  5. # In the repository.
  6. # =================================================
  7. # on: [push]
  8. on:
  9. pull_request:
  10. types:
  11. - closed
  12. branches:
  13. - master
  14. name: Compile Readme
  15. jobs:
  16. build:
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Get repo
  20. uses: actions/checkout@master
  21. with:
  22. ref: master
  23. - name: Compile
  24. uses: docker://merovex/readme-writer:latest
  25. env:
  26. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  27. - name: Commit on change
  28. uses: stefanzweifel/git-auto-commit-action@v4
  29. with:
  30. commit_message: "@verkilo rewrote README"