File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,27 @@ name: docs
22
33on :
44 push :
5+ branches : [ "master" , "develop" ]
6+ # Allows you to run this workflow manually from the Actions tab
7+ workflow_dispatch :
58
69jobs :
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
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
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'
You can’t perform that action at this time.
0 commit comments