Use .event_name...

This commit is contained in:
Natsu Kagami 2021-11-07 13:55:44 -05:00
parent 9f27aa1c83
commit 2f7e4b049e
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -13,7 +13,7 @@ on:
- labeled
jobs:
deploy:
if: "github.event.name == 'push' || contains(github.event.pull_request.labels.*.name, 'Deploy')"
if: "github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'Deploy')"
runs-on: ubuntu-latest
name: Deploy
steps: