diff --git a/.github/workflows/run-pipeline.yml b/.github/workflows/run-pipeline.yml index e5020d1d..6971a7fd 100644 --- a/.github/workflows/run-pipeline.yml +++ b/.github/workflows/run-pipeline.yml @@ -34,6 +34,9 @@ on: fasta_download_path: required: false type: string + postrun_cmd: + required: false + type: string jobs: Run-Pipeline: @@ -78,3 +81,7 @@ jobs: ${{ (endsWith(inputs.pipeline_config, 'ml') && '--configfile') || '' }} ${{ inputs.pipeline_config }} \ --snakefile ${{inputs.pipeline_file}} --show-failed-logs -F shell: micromamba-shell {0} + - name: Run post pipeline cmd + if: inputs.postrun_cmd + run: ${{inputs.postrun_cmd}} + shell: micromamba-shell {0}