Skip to content

Commit

Permalink
don't show button
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 committed Mar 20, 2024
1 parent cffb620 commit c2b054d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/views/repo/pipeline/PipelineWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c2b054d

Please sign in to comment.