From 1f0f4b6638d40b4c1fcc04debf5c91c6d6f9a221 Mon Sep 17 00:00:00 2001 From: Arnau Casau Date: Mon, 16 Oct 2023 18:12:54 +0200 Subject: [PATCH] Run tests on PRs and deploy docs on push --- .github/workflows/docs-deploy.yml | 4 +++- .github/workflows/tests.yml | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 2e0ae18c..ad71df92 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -13,7 +13,9 @@ name: Deploy Docs on: - workflow_dispatch: + push: + branches: + - main jobs: docs_publish: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5e8cc019..00ca2466 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,10 +1,6 @@ name: Tests, linter and coverage on: - push: - branches: - - main - - 'stable/**' pull_request: branches: - main