From 68b937893b1890748a6b62721ee3c91697d7a395 Mon Sep 17 00:00:00 2001 From: Michael Carenzo <79934822+mikecarenzo@users.noreply.github.com> Date: Wed, 22 Jan 2025 15:21:42 -0500 Subject: [PATCH] update site deployment --- .github/{workflow => workflows}/deploy_site.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) rename .github/{workflow => workflows}/deploy_site.yml (83%) diff --git a/.github/workflow/deploy_site.yml b/.github/workflows/deploy_site.yml similarity index 83% rename from .github/workflow/deploy_site.yml rename to .github/workflows/deploy_site.yml index a40f9b4..668ea64 100644 --- a/.github/workflow/deploy_site.yml +++ b/.github/workflows/deploy_site.yml @@ -3,7 +3,7 @@ name: Build Site on: push: branches: [main] - pull_request: + workflow_dispatch: permissions: contents: read @@ -24,11 +24,17 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.9' - name: Install Poetry - run: curl -sSL https://install.python-poetry.org/ | python - - - name: Add Poetry to PATH - run: echo "$HOME/.poetry/bin" >> $GITHUB_PATH + uses: snok/install-poetry@v1 + with: + version: 1.8.5 + - name: Collect Error Logs + if: always() + uses: actions/upload-artifact@v3 + with: + name: logs + path: /home/runner/work/**/*.log - name: Install Dependencies run: poetry install - name: Build Sphinx Documentation