Skip to content

Commit

Permalink
Merge pull request #60 from eavilaes/52-fix-ci
Browse files Browse the repository at this point in the history
Add check to publish only when repository is "Qbeast-io/qbeast-spark"
  • Loading branch information
eavilaes committed Dec 22, 2021
2 parents cdfe538 + 5911ff1 commit 35c9f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-publish-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: sbt scalafmtSbtCheck doc

# Publish only if it is on the main branch
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'Qbeast-io/qbeast-spark' }}
name: Publish artifact
run: |
QBEAST_SPARK_VERSION="nightly-$(git rev-parse --short ${GITHUB_SHA})"
Expand Down

0 comments on commit 35c9f56

Please sign in to comment.