Skip to content

Commit

Permalink
Merge pull request #38 from susom/actions-deploy
Browse files Browse the repository at this point in the history
Deploy for push to master and removed cron.
  • Loading branch information
kcs-bandihareesh authored Oct 11, 2024
2 parents 3d0d2a4 + ab017fe commit 45b445a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/vertx-parent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 8 * * *' # Cron job to run daily at 8AM UTC (at midnight PDT)

jobs:
test:
Expand Down Expand Up @@ -74,6 +72,7 @@ jobs:
deploy_snapshots:
name: Deploy Snapshots
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
permissions:
contents: 'read'
id-token: 'write'
Expand Down Expand Up @@ -122,4 +121,3 @@ jobs:
run: |
echo "Deploying snapshots"
mvn -s $HOME/.m2/settings.xml -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -e -DskipTests=true deploy
if: github.ref == 'refs/heads/master'

0 comments on commit 45b445a

Please sign in to comment.