Skip to content

Commit

Permalink
Workflows: Adjust when to run deploy-website after update-this-week
Browse files Browse the repository at this point in the history
1. Only run in sequence (add `needs1)
2. Only run if triggering event was not a push (since that runs `deploy` anyway)
  • Loading branch information
rohanpadhye authored Aug 28, 2023
1 parent d653ac8 commit 5bd973e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ jobs:
branch: main

deploy-website:
if: ${{ github.event_name != 'push' }} # Push events run deploy already
needs: update-this-week
uses: ./.github/workflows/deploy.yml

0 comments on commit 5bd973e

Please sign in to comment.