mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 21:40:42 +00:00
Only allow to deploy from push, tag and release (#3522)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user