Only run the playground release job on release (#4636)

This commit is contained in:
Charlie Marsh 2023-05-24 11:48:36 -04:00 committed by GitHub
parent edc6c4058f
commit f4f1b1d0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
name: mkdocs name: mkdocs
on: on:
release:
types: [published]
workflow_dispatch: workflow_dispatch:
release:
types: [ published ]
jobs: jobs:
mkdocs: mkdocs:

View File

@ -2,8 +2,8 @@ name: "[Playground] Release"
on: on:
workflow_dispatch: workflow_dispatch:
push: release:
branches: [main] types: [ published ]
env: env:
CARGO_INCREMENTAL: 0 CARGO_INCREMENTAL: 0