From cd8f0586b0e3641af35e48ee96f98178df672e4c Mon Sep 17 00:00:00 2001 From: jagar2 Date: Wed, 4 Dec 2024 16:31:27 -0500 Subject: [PATCH] #push deploy build --- .github/workflows/deploy.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6213677..037651f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,9 +27,17 @@ jobs: with: token: ${{ secrets.GH_TOKEN }} - - name: Install system dependencies + - name: Install Conda and dependencies run: | - pip install numpy vtk pyqt5 + sudo apt-get update + sudo apt-get install -y wget + wget -qO- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > miniconda.sh + bash miniconda.sh -b -p $HOME/miniconda + export PATH="$HOME/miniconda/bin:$PATH" + conda init bash + conda create -n book python=3.11 -y + conda activate book + conda install -c conda-forge mayavi -y - name: Set up Python 3.11 uses: actions/setup-python@v4 @@ -56,5 +64,5 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} publish_dir: ./book/_build/html