Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

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!"