Merge pull request #6 from anas-elgarhy/create-publish-action

😆 Create publish action yooo 🥰
This commit is contained in:
Anas Elgarhy 2022-08-22 11:36:10 +02:00 committed by GitHub
commit 02e2ea1f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

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 }}