mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
ci: fix sandbox update job (#4549)
Prevent sandbox deploy job run if tag name is empty.
This commit is contained in:
parent
20e7db47ee
commit
759a20d374
1 changed files with 5 additions and 2 deletions
5
.github/workflows/update-sandbox.yml
vendored
5
.github/workflows/update-sandbox.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue