Skip to content

Commit

Permalink
chore(template) update .github/workflows/readme.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Oct 24, 2020
1 parent 4fcd2cb commit 718b0ae
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: readme

on:
push:
paths:
- docs/**
- colophon.yml
- .github/workflows/readme.yml

jobs:
readme:
timeout-minutes: 5

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: docker://pandoc/core:2.9
with:
args: >-
--metadata-file=colophon.yml
--template=docs/README.template
--output=README.md
--from=markdown_github+yaml_metadata_block
--to=gfm
--fail-if-warnings
docs/README.md
- name: commit changes
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add README.md
git commit -m "docs(readme): update readme" || exit 0
git push

0 comments on commit 718b0ae

Please sign in to comment.