Skip to content

Commit 83e9df7

Browse files
authored
Merge pull request #22 from Felitendo/copilot/fix-21
Fix publish workflow error when triggered by workflow_dispatch
2 parents 6990b95 + 9d83478 commit 83e9df7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ jobs:
4848
asset_path: ${{ steps.jprm.outputs.artifact }}
4949

5050
- name: Update manifest
51+
if: ${{ github.event_name == 'release' }}
5152
run: |
5253
jprm repo add --plugin-url ${{ steps.release.outputs.browser_download_url }} . ${{ steps.jprm.outputs.artifact }}
5354
5455
- name: Commit manifest
56+
if: ${{ github.event_name == 'release' }}
5557
run: |
5658
git config user.name jellyfin-bot
5759
git config user.email team@jellyfin.org

0 commit comments

Comments
 (0)