Skip to content

Commit

Permalink
Move success check to if
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis authored Mar 20, 2024
1 parent fbe6e0a commit f092c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
update:
runs-on: ubuntu-latest
outputs:
success: ${{ steps.commit.outputs.outcome == "success" }}
success: steps.commit.outputs.outcome
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -32,5 +32,5 @@ jobs:

deploy:
needs: update
if: ${{ needs.update.outputs.success }}
if: ${{ needs.update.outputs.success == "success" }}
uses: ./.github/workflows/deploy.yml

0 comments on commit f092c4c

Please sign in to comment.