File tree Expand file tree Collapse file tree 1 file changed +40
-6
lines changed
Expand file tree Collapse file tree 1 file changed +40
-6
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 docs :
10- permissions :
11- contents : write
12- uses : Billingegroup/release-scripts/.github/workflows/_publish-docs-on-release.yml@v0
13- with :
14- project : diffpy.pdffit2
15- c_extension : true
10+ defaults :
11+ run :
12+ shell : bash -l {0}
13+
14+ runs-on : macos-latest
15+ steps :
16+ - name : Check out diffpy.pdffit2
17+ uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0 # Fetches branches and tags
20+
21+ - name : Initialize miniconda
22+ uses : conda-incubator/setup-miniconda@v3
23+ with :
24+ activate-environment : build
25+ auto-update-conda : true
26+ environment-file : environment.yml
27+ auto-activate-base : false
28+ python-version : 3.13
29+
30+ - name : Conda config
31+ run : >-
32+ conda config --set always_yes yes
33+ --set changeps1 no
34+
35+ - name : Install diffpy.pdffit2 and docs requirements
36+ run : |
37+ conda install --file requirements/conda.txt
38+ conda install --file requirements/docs.txt
39+ conda install --file requirements/build.txt
40+ python -m pip install . --no-deps
41+
42+ - name : build documents
43+ run : make -C doc html
44+
45+ - name : Deploy
46+ uses : peaceiris/actions-gh-pages@v4
47+ with :
48+ github_token : ${{ secrets.GITHUB_TOKEN }}
49+ publish_dir : ./doc/build/html
You can’t perform that action at this time.
0 commit comments