Skip to content

Commit

Permalink
#push deploy build
Browse files Browse the repository at this point in the history
  • Loading branch information
jagar2 committed Dec 4, 2024
1 parent 08195d3 commit cd8f058
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit cd8f058

Please sign in to comment.