Skip to content

Commit

Permalink
Create deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
answad authored Jun 17, 2024
1 parent 03da81b commit cb9c74d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'

- name: Build with Gradle
run: ./gradlew build

- name: Deploy to JitPack
run: ./gradlew publish

- name: Notify deployment success
run: echo "Deployment to JitPack was successful!"

0 comments on commit cb9c74d

Please sign in to comment.