File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build and Deploy docs
22
3- on : ["push", "pull_request"]
3+ on :
4+ pull_request :
5+
6+ push :
7+ tags :
8+ - " v*"
49
510jobs :
611 run :
914 - uses : actions/checkout@v3
1015
1116 - name : Setup Micromamba
12- uses : mamba-org/provision-with-micromamba@main
17+ uses : mamba-org/provision-with-micromamba@v13
1318 with :
1419 environment-file : false
1520
1621 - name : Create environment
1722 shell : bash -l {0}
1823 run : |
19- micromamba create --name TEST python=3 python-build numpy --file requirements-dev.txt --channel conda-forge
24+ micromamba create --name TEST python=3 numpy --file requirements-dev.txt --channel conda-forge
2025 micromamba activate TEST
2126 pip install -e . --no-deps --force-reinstall
2227 conda info --all
3237 popd
3338
3439 - name : GitHub Pages action
35- if : ${{ github.event_name == 'release' }}
36- uses : peaceiris/actions-gh-pages@v3.6.1
40+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
41+ uses : peaceiris/actions-gh-pages@v3
3742 with :
3843 github_token : ${{ secrets.GITHUB_TOKEN }}
3944 publish_dir : docs/_build/html
You can’t perform that action at this time.
0 commit comments