@ -30,6 +30,7 @@ jobs:
run: mkdocs build
deploy:
if: github.event.workflow_run.event == 'push' && contains(fromJson('["master", "main"]'), github.event.workflow_run.head_branch)
needs: build
name: Deploy docs
runs-on: ubuntu-latest
@ -7,7 +7,6 @@ on:
jobs:
update_contributors:
if: github.event_name == 'push' && contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref)
steps:
- name: Checkout code