Skip to content

Commit f5c67b8

Browse files
committed
Invert triggering condition for GitHub Pages workflow
1 parent e91405c commit f5c67b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/syncpages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222

2323
- name: Commit and push, if docs have changed
2424
run: |
25-
if git diff origin/master -- ./doc ./AUTHORS.md ./LICENCE.md ./SECURITY.md \
26-
./README ./NON-AUTOTOOLS-BUILD >/dev/null ; then
25+
if ! git diff origin/master -- ./doc ./AUTHORS.md ./LICENCE.md ./SECURITY.md \
26+
./README ./NON-AUTOTOOLS-BUILD >/dev/null ; then
2727
# Differences from master: merge and push
2828
git config user.name "github-actions[bot]"
2929
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)