Skip to content

Commit

Permalink
fix syntax :(
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottback committed Feb 6, 2024
1 parent d6fd085 commit 84a22dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-from-reddit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ jobs:
fi
# Pushes from GitHub Actions do not trigger further actions; manually call deploy
# we will need to do this to get the matrix to work: https://github.com/orgs/community/discussions/26284
# :(
deploy:
name: Deploy site
needs: sync-from-reddit
if: "${{ ( needs.sync-from-reddit.outputs.new-commit != '' ) && ( matrix.deploy != 'no' ) }}"
if: "${{ ( needs.sync-from-reddit.outputs.new-commit != '' ) && ( needs.sync-from-reddit.matrix.deploy != 'no' ) }}"
permissions:
contents: write
uses: ./.github/workflows/deploy.yml
Expand Down

0 comments on commit 84a22dc

Please sign in to comment.