From c8a49e564453d933a6a2c827f54580742df9a3df Mon Sep 17 00:00:00 2001 From: BugDiver Date: Thu, 20 Feb 2020 12:52:07 +0530 Subject: [PATCH] Change trigger event. --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d18fc362..a8ceb7b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Release on PR Merge -on: - pull_request: - types: [closed] +# on: +# pull_request: +# types: [closed] +on: [repository_dispatch] jobs: release-and-bump-version: @@ -54,7 +55,7 @@ jobs: echo "::set-env name=RELEASE_DESCRIPTION::$release_description" echo "$release_description" >> desc.txt echo "Creating new draft for release v$version" - hub release create -d -F ./desc.txt "v$version" + hub release create -F ./desc.txt "v$version" rm -rf desc.txt echo "Start uploading assets..." for i in $(ls $artifacts); do