Skip to content

Commit 52e952d

Browse files
authored
Update docs workflow (#247)
1 parent 2ff92fe commit 52e952d

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

.github/workflows/_docs.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@ on:
66
deploy_key:
77
required: false
88

9-
109
jobs:
1110
build_docs:
1211
runs-on: ubuntu-latest
13-
strategy:
14-
fail-fast: false
1512

1613
defaults:
1714
run:
@@ -28,19 +25,10 @@ jobs:
2825
with:
2926
fetch-depth: 0
3027

31-
- name: Install documentation-building requirements with apt/dpkg
32-
run: |
33-
set -vxeuo pipefail
34-
wget --progress=dot:giga "https://github.com/jgm/pandoc/releases/download/3.1.6.1/pandoc-3.1.6.1-1-amd64.deb" -O /tmp/pandoc.deb
35-
sudo dpkg -i /tmp/pandoc.deb
36-
# conda install -c conda-forge -y pandoc
37-
which pandoc
38-
pandoc --version
39-
4028
- name: Install pixi and activate environment
41-
uses: prefix-dev/setup-pixi@v0.8.14
29+
uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
4230
with:
43-
pixi-version: v0.46.0
31+
pixi-version: v0.60.0
4432
environments: docs
4533
cache: false
4634
activate-environment: docs
@@ -51,21 +39,13 @@ jobs:
5139
- name: Build Docs
5240
run: pixi run build-docs
5341

54-
- name: Upload JupyterLite docs artifact
55-
uses: actions/upload-artifact@v4
56-
with:
57-
name: jupyterlite-docs
58-
path: docs/build/jupyter_execute
59-
if-no-files-found: error
60-
6142
- name: Upload HTML docs artifact
6243
uses: actions/upload-artifact@v4
6344
with:
6445
name: ${{ env.REPOSITORY_NAME }}-docs
6546
path: docs/build/html/
6647

6748
- name: Deploy documentation to nsls-ii.github.io
68-
# if: github.repository_owner == 'NSLS-II' && github.ref_name == 'main'
6949
if: github.event_name == 'release'
7050
# We pin to the SHA, not the tag, for security reasons.
7151
# https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions

0 commit comments

Comments
 (0)