diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 0202bae..5eab7d2 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -35,8 +35,8 @@ jobs: - name: Build Sphinx docs run: ./build-docs.sh - - name: Set Binder Python version - run: cp runtime.txt docs/build/html/runtime.txt + - name: Add Binder environment configuration + run: cp environment.yml docs/build/html/environment.yml - name: Publish built docs for Binder uses: peaceiris/actions-gh-pages@v4 diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..12591c9 --- /dev/null +++ b/environment.yml @@ -0,0 +1,8 @@ +name: binder +channels: + - conda-forge +dependencies: + - python=3.11 + - pip + - pip: + - -r binder/requirements.txt diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 67ebc4e..0000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.11