diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0bf767677..b88d4f93a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,7 +38,7 @@ jobs: fetch-tags: true - name: Set up uv - run: .github/script/install-uv.sh + run: ../.github/script/install-uv.sh - name: "Set up Python" uses: actions/setup-python@v5 with: @@ -68,6 +68,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build + if: github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main' steps: - name: Setup Pages uses: actions/configure-pages@v5