Skip to content

Commit

Permalink
SLVUU-109: Introduce GH Action to autogenerate readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pling-scottlogic committed Nov 22, 2023
1 parent 0badbdc commit d663782
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/generate-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Generate README from docs folder
on: push

jobs:
run:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
# TODO: check if source docs have been changed
- name: Generate readme
run: cat docs/**/*.md > README_AUTO.md
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: 'Update readme'
add: 'README_AUTO.md'
default_author: github_actions

0 comments on commit d663782

Please sign in to comment.