Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43810cf

Browse files
committed
see if ftp actions works
1 parent a68ca8a commit 43810cf

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

.github/workflows/build-gallery.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,14 @@ jobs:
2727
- name: Show wgpu backend
2828
run:
2929
python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
30-
- name: make gallery
30+
- name: build docs
3131
run: |
32-
RTD_BUILD=1 FETCH_ARTIFACT=0 sphinx-build -b dummy docs/source/ /tmp/
33-
34-
- uses: actions/upload-artifact@v4
35-
with:
36-
name: gallery-${{ github.sha }}
37-
path: docs/source/_gallery
38-
39-
- name: Trigger RTDs build
40-
uses: dfm/rtds-action@v1
32+
cd docs
33+
RTD_BUILD=1 make html
34+
- name: Deploy docs
35+
uses: SamKirkland/[email protected]
4136
with:
42-
webhook_url: ${{ secrets.RTDS_WEBHOOK_URL }}
43-
webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}
44-
commit_ref: ${{ github.ref }}
37+
server: ${{ secrets.DOCS_SERVER }}
38+
username: ${{ secrets.DOCS_USERNAME }}
39+
password: ${{ secrets.DOCS_PASSWORD }}
40+
local-dir: docs/build/html/

0 commit comments

Comments
 (0)