diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c528b89..e542e88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,10 @@ jobs: if: >- github.event_name != 'pull_request' && inputs.deploy-docs && - github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + ( + github.event_name == 'tag' || + github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + ) needs: - docs - tests diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2c3f654..896c571 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,7 +14,7 @@ jobs: name: CI uses: ./.github/workflows/ci.yml with: - deploy-docs: false + deploy-docs: true permissions: contents: write id-token: write