diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 18d0c3f..981134b 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -44,7 +44,7 @@ jobs: author_email: "loraner123@gmail.com" - name: Publish package changes to AUR - if: "${{ github.event.commits[0] }}" + if: "${{ github.event.commits[0] || steps.commit.outputs.commited }}" uses: KSXGitHub/github-actions-deploy-aur@v2.7.0 with: pkgname: "yandex-music" @@ -54,7 +54,7 @@ jobs: commit_username: "cucumber-sp" commit_email: "loraner123@gmail.com" ssh_private_key: "${{ secrets.AUR_SSH_PRIVATE_KEY }}" - commit_message: "${{ github.event.commits[0].message }}" + commit_message: "${{ github.event.commits[0].message || env.release_name }}" ssh_keyscan_types: "rsa,dsa,ecdsa,ed25519" outputs: