From 5d1ba85e66b7f37e181bbbb5b9e49f0061ad80dc Mon Sep 17 00:00:00 2001 From: Patarimi <38954040+Patarimi@users.noreply.github.com> Date: Sun, 1 Mar 2026 12:39:05 +0100 Subject: [PATCH 1/3] Add deployment step for documentation in workflow --- .github/workflows/python-app.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index d977b42..466fe22 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -85,3 +85,15 @@ jobs: path: | tmp/ pytest.log + deploy-doc: + runs-on: ubuntu-latest + needs: + [testing] + steps: + - uses: actions/checkout@v6 + - name: Install uv + uses: astral-sh/setup-uv@v7 + - name: Build Doc + run: | + uv sync --all-extras --group doc + uv run mkdocs gh-deploy From ae8a58fa8426a3a8198b0498a6d8ebc4a7c5432b Mon Sep 17 00:00:00 2001 From: Patarimi <38954040+Patarimi@users.noreply.github.com> Date: Sun, 1 Mar 2026 13:55:45 +0100 Subject: [PATCH 2/3] Change Nix channel to nixpkgs-25.11 Updated Nix channel to use nixpkgs-25.11 instead of nixpkgs-unstable. Remove broken CSXCAD package --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 466fe22..228fb20 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -61,7 +61,7 @@ jobs: if: ${{runner.os != 'Windows' }} run: | nix-channel --list - nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs + nix-channel --add https://nixos.org/channels/nixpkgs-25.11 nixpkgs nix-channel --update nix-env -iA nixpkgs.openems which openEMS From 31b40b8b16dd144eb75fb37ffb67e3b2fbfc4071 Mon Sep 17 00:00:00 2001 From: Patarimi <38954040+Patarimi@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:05:43 +0100 Subject: [PATCH 3/3] fix 404 error --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 228fb20..8b83f7e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -56,12 +56,12 @@ jobs: - uses: cachix/install-nix-action@v31 if: ${{runner.os != 'Windows' }} with: - nix_path: nixpkgs=channel:nixos-unstable + nix_path: nixpkgs=channel:nixpkgs-25.11-darwin - name: Install openEMS for linux if: ${{runner.os != 'Windows' }} run: | nix-channel --list - nix-channel --add https://nixos.org/channels/nixpkgs-25.11 nixpkgs + nix-channel --add https://nixos.org/channels/nixpkgs-25.11-darwin nixpkgs nix-channel --update nix-env -iA nixpkgs.openems which openEMS