ci: do not post updates about enterprise releases to emqx.io

This commit is contained in:
Ivan Dyachkov 2023-03-16 09:32:13 +01:00
parent e3d4deb8a0
commit cfae0baf03
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ jobs:
with:
asset_paths: '["packages/*"]'
- name: update to emqx.io
if: github.event_name == 'release' || inputs.publish_release_artefacts
if: startsWith(github.ref_name, 'v') && (github.event_name == 'release' || inputs.publish_release_artefacts)
run: |
set -e -x -u
set -eux
curl -w %{http_code} \
--insecure \
-H "Content-Type: application/json" \