From 6d6d35793c3879f90c1f940afbd76093f7d55ca3 Mon Sep 17 00:00:00 2001 From: Marcus Hughes Date: Mon, 4 Dec 2023 11:55:24 -0700 Subject: [PATCH 1/2] fix docs deploy (#20) fixes python version of github action for docs --- .github/workflows/docs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 364686b..3dbe53d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -17,7 +17,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.10 + python-version: "3.10" - name: Install dependencies run: | @@ -34,4 +34,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3.6.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/build/html \ No newline at end of file + publish_dir: ./docs/build/html From 17fc7b9e015516437c10aadc26124ee3b0d5695e Mon Sep 17 00:00:00 2001 From: Marcus Hughes Date: Mon, 11 Dec 2023 02:12:34 -0700 Subject: [PATCH 2/2] allow docs action to see punchbowl --- .github/workflows/docs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 3dbe53d..5f4fa9d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -11,7 +11,7 @@ jobs: deploy-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Install dependencies - name: Set up Python 3.10 @@ -21,6 +21,9 @@ jobs: - name: Install dependencies run: | + eval `ssh-agent -s` + ssh-add - <<< '${{ secrets.PRIVATE_SSH_KEY }}' + python -m pip install --upgrade pip pip install -r ./docs/requirements.txt pip install -r requirements.txt