Skip to content

Commit beed29b

Browse files
committed
Update wiki action
1 parent 258390d commit beed29b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/wiki.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ jobs:
5454
run: echo "status='$(git status -s)'" >> $GITHUB_OUTPUT
5555

5656
- name: Add and commit files
57-
if: ${{ steps.status.outputs.status }}
57+
if: ${{ steps.status.outputs.status != '' }}
5858
run: |
5959
git add .
6060
git config --global user.email "github-actions[bot]@users.noreply.github.com"
6161
git config --global user.name "github-actions[bot]"
6262
git commit -m "Update submodules at $(date "+DATE: %Y-%m-%d TIME: %H:%M:%S")"
6363
6464
- name: Push changes
65-
if: ${{ steps.status.outputs.status && github.event_name == 'push' }}
65+
if: ${{ steps.status.outputs.status != '' && github.event_name == 'push' }}
6666
uses: ad-m/github-push-action@master
6767
with:
6868
github_token: ${{ github.token }}
69-
branch: dev
69+
branch: ${{ github.ref_name }}
7070

7171
- name: Git Submodule Update
7272
run: |

0 commit comments

Comments
 (0)