Fix CI: Simplify deploy-website condition [web]

Deploy website whenever web-build succeeds on main branch.
The web-build job already has the conditional logic for when to build.
This commit is contained in:
jatinkrmalik
2026-01-19 17:43:38 -08:00
parent 13618878b5
commit b869c13ff5
2 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -157,11 +157,7 @@ jobs:
name: 🚀 Deploy Website
runs-on: ubuntu-latest
needs: [python-test, web-build]
if: |
github.ref == 'refs/heads/main' &&
(contains(github.event.head_commit.message, '[web]') ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'push' && contains(join(github.event.commits.*.modified, ','), 'web/')))
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4