Skip to content

Commit

Permalink
修复ci首次新增app-meta.json时不会更新的问题
Browse files Browse the repository at this point in the history
Signed-off-by: teble <me@teble.me>
  • Loading branch information
teble committed Jul 12, 2023
1 parent 8b58010 commit 99a793d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/app-meta-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
if [[ -n $(git diff --stat) ]]; then
if [[ -n $(git status -s) ]]; then
git commit -m "Update app-meta.json"
git push "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.repository }}" pages:pages
fi

0 comments on commit 99a793d

Please sign in to comment.