From f78c93eaca8e7069ffe9b31e15e685f656687f5e Mon Sep 17 00:00:00 2001 From: Soxoj <31013580+soxoj@users.noreply.github.com> Date: Sat, 23 Nov 2024 19:11:25 +0100 Subject: [PATCH] Added .readthedocs.yaml, fixed Pyinstaller and Docker workflows (#1874) --- .github/workflows/pyinstaller.yml | 4 ++-- .readthedocs.yaml | 16 ++++++++++++++++ Dockerfile | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index ad6610f..e7c97e3 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: PyInstaller Windows uses: JackMcKew/pyinstaller-action-windows@main with: path: pyinstaller - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: maigret_standalone_win32 path: pyinstaller/dist/windows # or path/to/artifact diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..743c41b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.10" + +sphinx: + configuration: docs/source/conf.py + +formats: + - pdf + +python: + install: + - requirements: docs/requirements.txt diff --git a/Dockerfile b/Dockerfile index df1b2af..59545ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim +FROM python:3.10-slim LABEL maintainer="Soxoj " WORKDIR /app RUN pip install --no-cache-dir --upgrade pip