mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-13 12:12:50 +00:00
fix(ci): deploy pull request only if label is present
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
305b6f5910
commit
a0bb7e349e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ jobs:
|
|||
|
||||
deploy:
|
||||
needs: changes
|
||||
if: "(github.event.pull_request.draft == false || contains( github.event.pull_request.labels.*.name, 'ci: force deployment')) && ((github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork)"
|
||||
if: "contains(github.event.pull_request.labels.*.name, 'ci: force deployment') && ((github.event_name == 'pull_request_target') == github.event.pull_request.head.repo.fork)"
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploys to netlify
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue