Skip to content

Commit 57e9837

Browse files
committed
fix docs
1 parent 6b1b892 commit 57e9837

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,27 @@ name: docs
22

33
on:
44
push:
5+
branches: [ "master" , "develop" ]
6+
# Allows you to run this workflow manually from the Actions tab
7+
workflow_dispatch:
58

69
jobs:
710
docs:
811
runs-on: ubuntu-latest
912
steps:
10-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1114
with:
1215
persist-credentials: false
1316

14-
- uses: actions/setup-python@v3
17+
- uses: actions/setup-python@v5
1518
with:
1619
python-version: 3.8
1720

1821
- name: Install dependencies 🔨 & Build 🔧
1922
run: |
20-
# setup mambaforge
21-
wget -q -O Mambaforge.sh "https://github.com/conda-forge/miniforge/releases/download/4.11.0-1/Mambaforge-$(uname)-$(uname -m).sh"
22-
bash Mambaforge.sh -b -p "${HOME}/conda" > /dev/null
23+
# setup miniforge
24+
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
25+
bash Miniforge3.sh -b -p "${HOME}/conda" > /dev/null
2326
source "${HOME}/conda/etc/profile.d/conda.sh"
2427
source "${HOME}/conda/etc/profile.d/mamba.sh"
2528
mamba activate
@@ -45,7 +48,7 @@ jobs:
4548
mamba env create --name seq2science --file doc_reqs.yaml
4649
rm doc_reqs.yaml
4750
mamba activate seq2science
48-
pip3 install .
51+
pip3 install . --no-deps --ignore-installed
4952
5053
# make the docs
5154
python docs/scripts/schemas.py
@@ -55,7 +58,6 @@ jobs:
5558
sphinx-build docs/ build -W
5659
touch build/.nojekyll
5760
58-
# only deploy
5961
- name: Deploy 📬
6062
uses: JamesIves/github-pages-deploy-action@releases/v3
6163
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)