Skip to content

Commit

Permalink
Fix workflow_dispatch trigger for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz authored and Baccata committed Jan 21, 2022
1 parent 4bb5a65 commit 43fc5f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: CI
on:
push:
workflow_dispatch:
workflow_dispatch:
inputs:
publishSnapshot:
description: 'Publish Snapshot'
required: true
default: 'false'
push:
branches: ["main"]
tags: ["v*"]
pull_request:
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

- name: Compile Documentation Markdown Files
if: startsWith(github.ref, 'refs/tags/v') # do not run for snapshots
run: sbt "docs/mdoc"
Expand Down

0 comments on commit 43fc5f7

Please sign in to comment.