Only allow to deploy from push, tag and release (#3522)

This commit is contained in:
qwerty287
2024-03-20 21:04:51 +01:00
committed by GitHub
parent 00b1651f47
commit e00b2d4bd3
2 changed files with 14 additions and 4 deletions

View File

@@ -45,7 +45,10 @@
@click="restartPipeline"
/>
<Button
v-if="pipeline.status === 'success'"
v-if="
pipeline.status === 'success' &&
(pipeline.event === 'push' || pipeline.event === 'tag' || pipeline.event === 'release')
"
class="flex-shrink-0"
:text="$t('repo.pipeline.actions.deploy')"
@click="showDeployPipelinePopup = true"