mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
Merge pull request #520 from openzim/offliner-definition-workflow-dispatch
add workflow dispatch to update-offliner ci
This commit is contained in:
commit
8630b87a1f
1 changed files with 8 additions and 1 deletions
|
|
@ -8,6 +8,13 @@ on:
|
|||
release:
|
||||
types: [published]
|
||||
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version to publish (leave blank to use 'dev')"
|
||||
required: false
|
||||
default: "dev"
|
||||
|
||||
jobs:
|
||||
prepare-json:
|
||||
runs-on: ubuntu-24.04
|
||||
|
|
@ -31,7 +38,7 @@ jobs:
|
|||
needs: prepare-json
|
||||
uses: openzim/overview/.github/workflows/update-zimfarm-offliner-definition.yaml@main
|
||||
with:
|
||||
version: ${{ github.event_name == 'release' && github.event.release.tag_name || 'dev' }}
|
||||
version: ${{ github.event_name == 'release' && github.event.release.tag_name || (github.event.inputs.version || 'dev') }}
|
||||
offliner: zimit
|
||||
offliner_definition_b64: ${{ needs.prepare-json.outputs.offliner_definition_b64 }}
|
||||
secrets:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue