Skip to content

Commit

Permalink
Use env vars to disable WPT result builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Dec 15, 2022
1 parent 8517728 commit 6481562
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
# If the $WPT_ONLY env var is set, only build branches that end with `--wpt-results`
ignore = "if [[ ! $WPT_ONLY || $BRANCH == *--wpt-results ]]; then exit 1; else exit 0; fi"

0 comments on commit 6481562

Please sign in to comment.