ci: fix sandbox update job (#4549)

Prevent sandbox deploy job run if tag name is empty.
This commit is contained in:
Max Golionko 2023-07-07 17:49:25 +08:00 committed by GitHub
parent 20e7db47ee
commit 759a20d374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,14 @@ jobs:
deploy-sandbox:
runs-on: ubuntu-latest
steps:
- name: check inputs
if: github.event.release.tag_name == ''
run: exit 1
- name: Check out code
uses: actions/checkout@v3
with:
repository: VictoriaMetrics/ops
ref: master
token: ${{ secrets.VM_BOT_GH_TOKEN }}
- name: Import GPG key