Skip to content

Commit

Permalink
Only run the playground release job on release (#4636)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 24, 2023
1 parent edc6c40 commit f4f1b1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: mkdocs

on:
release:
types: [published]
workflow_dispatch:
release:
types: [ published ]

jobs:
mkdocs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: "[Playground] Release"

on:
workflow_dispatch:
push:
branches: [main]
release:
types: [ published ]

env:
CARGO_INCREMENTAL: 0
Expand Down

0 comments on commit f4f1b1d

Please sign in to comment.