diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 408c7f1..861bbd2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,12 @@ on: release: types: - published + workflow_dispatch: + inputs: + ref: + description: Git ref to publish from + required: false + default: main jobs: publish: @@ -14,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v6 with: - ref: ${{ github.event.release.tag_name }} + ref: ${{ github.event.release.tag_name || inputs.ref || github.ref_name }} - uses: actions/setup-node@v6 with: node-version: 24