Skip to content

Commit

Permalink
Merge pull request #100 from susom/actions-condition
Browse files Browse the repository at this point in the history
Added need condition to deploy snapshots
  • Loading branch information
pratapd1 authored Oct 28, 2024
2 parents 4eb669e + dc35e24 commit 4d23f1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/vertx-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
deploy_snapshots:
name: Deploy Snapshots
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
if: github.repository == 'susom/vertx-base' && github.ref == 'refs/heads/master' && github.event_name == 'push'
needs: test
permissions:
contents: 'read'
id-token: 'write'
Expand Down

0 comments on commit 4d23f1c

Please sign in to comment.