😆 Create publish action yooo 🥰

This commit is contained in:
Anas Elgarhy 2022-08-22 11:35:58 +02:00 committed by GitHub
parent 12036f2926
commit cae174ae96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,19 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
release: ["master"]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploying:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
- name: Deploying a Plugin with Gradle
run: ./gradlew publishPlugin -Dorg.gradle.project.intellijPublishToken=${{ secrets.PUBLISH_TOKEN }}