Skip to content

Commit 968acfe

Browse files
committed
Update wiki action
1 parent a629afa commit 968acfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/wiki.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ jobs:
5959
fi
6060
6161
- name: Add and commit files
62-
if: ${{ steps.changes.outputs.changed != 'true' }}
62+
if: ${{ steps.changes.outputs.changed == 'true' }}
6363
run: |
6464
git add .
6565
git config --global user.email "github-actions[bot]@users.noreply.github.com"
6666
git config --global user.name "github-actions[bot]"
6767
git commit -m "Update submodules at $(date "+DATE: %Y-%m-%d TIME: %H:%M:%S")"
6868
6969
- name: Push changes
70-
if: ${{ steps.changes.outputs.changed != 'true' }}
70+
if: ${{ steps.changes.outputs.changed == 'true' }}
7171
uses: ad-m/github-push-action@master
7272
with:
7373
github_token: ${{ github.token }}

0 commit comments

Comments
 (0)