Skip to content

Commit

Permalink
Put README generation in GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 24, 2023
1 parent d649a02 commit 7d1ea1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mkreadme.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build documentation
on:
"on":
push:

jobs:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Check if README.md has changed
id: readme-changed
run: |
if ! git --no-pager diff --name-only --quiet --diff-filter=AM ${{ github.event.before }} ${{ github.event.after }} -- hyakvnc .build/README.j2.md .github/workflows/mkreadme.yml; then
if git --no-pager diff --name-only --quiet --diff-filter=AM ${{ github.event.before }} ${{ github.event.after }} -- hyakvnc .build/README.j2.md .github/workflows/mkreadme.yml; then
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}
fi
Expand Down

0 comments on commit 7d1ea1c

Please sign in to comment.