Skip to content

Commit

Permalink
removed unnecessary condition from gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
onderonur committed Aug 18, 2024
1 parent 6b0ee9e commit d3027a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ jobs:

# Deployment job
deploy:
# Since `workflow_run` only has 3 activity types (`completed`, `requested` and `in_progress`),
# even if `Quality` workflow gets completed by failing, this workflow starts to run.
# To prevent this, we add a condition here.
# https://github.com/orgs/community/discussions/26238#discussioncomment-3250901
if: ${{ github.event.workflow_run.conclusion == 'success' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit d3027a8

Please sign in to comment.