Skip to content

Commit b888a15

Browse files
committed
download artifacts
1 parent e5d2294 commit b888a15

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,19 +125,26 @@ jobs:
125125
draft: true
126126
body: "Test Release"
127127

128-
- name: Download a Documentation
128+
- name: Download built documentation
129129
uses: actions/download-artifact@v2
130130
with:
131131
name: html-docs
132+
path: ./html-docs
133+
134+
- name: Download built release
135+
uses: actions/download-artifact@v2
136+
with:
137+
name: pypi-dist
138+
path: ./dist
132139

133140
- name: Display structure of downloaded files
134141
run: ls -R
135142

136-
# - name: Upload Documentation
137-
# uses: crazy-max/ghaction-github-pages@v2
138-
# with:
139-
# target_branch: gh-pages
140-
# build_dir: ./docs/_build/_html
143+
- name: Upload Documentation
144+
uses: crazy-max/ghaction-github-pages@v2
145+
with:
146+
target_branch: gh-pages
147+
build_dir: ./html-docs
141148

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

0 commit comments

Comments
 (0)