From b7ecbf66d4e930773d900329f1a482acb807981f Mon Sep 17 00:00:00 2001 From: Lctrs Date: Mon, 20 Jan 2020 10:25:01 +0100 Subject: [PATCH] Use on published release to trigger a new release on rector-prefixed --- .github/workflows/rector_phar.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rector_phar.yml b/.github/workflows/rector_phar.yml index bbdfed4bc17..9a15957b439 100644 --- a/.github/workflows/rector_phar.yml +++ b/.github/workflows/rector_phar.yml @@ -5,8 +5,9 @@ on: push: branches: - master - tags: - - "**" + release: + types: + - published jobs: compile_and_deploy_rector_phar: @@ -36,7 +37,7 @@ jobs: - name: '' - if: github.event_name == 'push' + if: github.event_name == 'push' || github.event_name == 'release' run: | [[ $GITHUB_REF == refs/tags/* ]] && CURRENT_TAG=${GITHUB_REF#refs/tags/} || CURRENT_TAG=""