File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- run : make docs
43
43
44
+ - name : Store docs site
45
+ uses : actions/upload-artifact@v3
46
+ with :
47
+ name : docs
48
+ path : site
49
+
44
50
test :
45
51
name : test py${{ matrix.python }} with redis:${{ matrix.redis }} on ${{ matrix.os }}
46
52
strategy :
@@ -98,6 +104,12 @@ jobs:
98
104
steps :
99
105
- uses : actions/checkout@v2
100
106
107
+ - name : get docs
108
+ uses : actions/download-artifact@v3
109
+ with :
110
+ name : docs
111
+ path : site
112
+
101
113
- name : set up python
102
114
uses : actions/setup-python@v4
103
115
with :
Original file line number Diff line number Diff line change 61
61
@echo " open file://` pwd` /docs/_build/html/index.html"
62
62
63
63
.PHONY : publish-docs
64
- publish-docs : docs
64
+ publish-docs :
65
65
cd docs/_build/ && cp -r html site && zip -r site.zip site
66
66
@curl -H " Content-Type: application/zip" -H " Authorization: Bearer ${NETLIFY} " \
67
67
--data-binary " @docs/_build/site.zip" https://api.netlify.com/api/v1/sites/arq-docs.netlify.com/deploys
You can’t perform that action at this time.
0 commit comments