Use on published release to trigger a new release on rector-prefixed

This commit is contained in:
Lctrs 2020-01-20 10:25:01 +01:00
parent 8f8d44b527
commit b7ecbf66d4

View File

@ -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=""