Skip to content

Commit

Permalink
Don't deploy on scheduled builds
Browse files Browse the repository at this point in the history
  • Loading branch information
garricko authored Oct 17, 2024
1 parent e600887 commit 2aefd16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
deploy-snapshots:
name: Deploy Snapshots
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -115,4 +115,4 @@ jobs:
echo "ACCESS_TOKEN=$(gcloud auth print-access-token)" >> $GITHUB_ENV
- name: Deploy to Maven
run: mvn --batch-mode -e -DskipTests=true deploy
run: mvn --batch-mode -e -DskipTests=true deploy

0 comments on commit 2aefd16

Please sign in to comment.