Skip to content

Commit 2d9f479

Browse files
committed
publish docs
1 parent 094cc33 commit 2d9f479

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ jobs:
125125
draft: true
126126
body: "Test Release"
127127

128-
- name: Download built documentation
128+
- name: Download documentation
129129
uses: actions/download-artifact@v2
130130
with:
131131
name: html-docs
132132
path: ./html-docs
133133

134-
- name: Download built release
134+
- name: Download release
135135
uses: actions/download-artifact@v2
136136
with:
137137
name: pypi-dist
@@ -140,11 +140,18 @@ jobs:
140140
- name: Display structure of downloaded files
141141
run: ls -R
142142

143-
- name: Upload Documentation
144-
uses: crazy-max/ghaction-github-pages@v2
143+
- name: Deploy documentation
144+
uses: peaceiris/actions-gh-pages@v3
145145
with:
146-
target_branch: gh-pages
147-
build_dir: ./html-docs
146+
github_token: ${{ secrets.GITHUB_TOKEN }}
147+
publish_dir: ./html-docs
148+
149+
150+
# - name: Upload Documentation
151+
# uses: crazy-max/ghaction-github-pages@v2
152+
# with:
153+
# target_branch: gh-pages
154+
# build_dir: ./html-docs
148155

149156
# - name: Publish to PyPI
150157
# uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)