Skip to content

Commit

Permalink
Change trigger event.
Browse files Browse the repository at this point in the history
  • Loading branch information
BugDiver committed Feb 20, 2020
1 parent 815ebf8 commit c8a49e5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c8a49e5

Please sign in to comment.