Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

fix(ci): harden manual publish ref

Samir Hossainsbf1582c7bc68
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 0080322..20aa93d 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -22,6 +22,8 @@ jobs:
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ] && [ -n "${{ github.event.inputs.tag }}" ]; then
REF="${{ github.event.inputs.tag }}"
+ elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
+ REF="${{ github.ref }}"
else
REF="${{ github.event.workflow_run.head_sha }}"
fi