diff --git a/.github/workflows/mkreadme.yml b/.github/workflows/mkreadme.yml index 964e42c..7d98a26 100644 --- a/.github/workflows/mkreadme.yml +++ b/.github/workflows/mkreadme.yml @@ -1,5 +1,5 @@ name: Build documentation -on: +"on": push: jobs: @@ -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