From 018313a88e1e413e7a9f997e29f8eaf5a9d1e367 Mon Sep 17 00:00:00 2001 From: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:43:54 -0500 Subject: [PATCH] fix: Use Poetry Virtualenv during Docs Build GHA (#57) --- .github/workflows/publish.yml | 3 ++- .github/workflows/publish_docs.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2620942..c527d91 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,8 @@ name: Release to PyPI on: - workflow_dispatch: + release: + types: [published] jobs: deploy: diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml index d36d495..020dd5a 100644 --- a/.github/workflows/publish_docs.yml +++ b/.github/workflows/publish_docs.yml @@ -38,7 +38,7 @@ jobs: run: | make docs cd docs - make html + poetry run make html - name: Deploy to Github Pages uses: peaceiris/actions-gh-pages@v4