mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +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
7
.github/workflows/update-sandbox.yml
vendored
7
.github/workflows/update-sandbox.yml
vendored
|
@ -8,11 +8,14 @@ jobs:
|
||||||
deploy-sandbox:
|
deploy-sandbox:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: check inputs
|
||||||
|
if: github.event.release.tag_name == ''
|
||||||
|
run: exit 1
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: VictoriaMetrics/ops
|
repository: VictoriaMetrics/ops
|
||||||
ref: master
|
|
||||||
token: ${{ secrets.VM_BOT_GH_TOKEN }}
|
token: ${{ secrets.VM_BOT_GH_TOKEN }}
|
||||||
|
|
||||||
- name: Import GPG key
|
- name: Import GPG key
|
||||||
|
@ -74,4 +77,4 @@ jobs:
|
||||||
Release [${{ github.event.release.tag_name }}](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/${{ github.event.release.tag_name }}) to sandbox
|
Release [${{ github.event.release.tag_name }}](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/${{ github.event.release.tag_name }}) to sandbox
|
||||||
|
|
||||||
> Auto-generated by `Github Actions Bot`
|
> Auto-generated by `Github Actions Bot`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue