File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 4141
4242 - run : make docs
4343
44+ - name : Store docs site
45+ uses : actions/upload-artifact@v3
46+ with :
47+ name : docs
48+ path : site
49+
4450 test :
4551 name : test py${{ matrix.python }} with redis:${{ matrix.redis }} on ${{ matrix.os }}
4652 strategy :
@@ -98,6 +104,12 @@ jobs:
98104 steps :
99105 - uses : actions/checkout@v2
100106
107+ - name : get docs
108+ uses : actions/download-artifact@v3
109+ with :
110+ name : docs
111+ path : site
112+
101113 - name : set up python
102114 uses : actions/setup-python@v4
103115 with :
Original file line number Diff line number Diff line change 6161 @echo " open file://` pwd` /docs/_build/html/index.html"
6262
6363.PHONY : publish-docs
64- publish-docs : docs
64+ publish-docs :
6565 cd docs/_build/ && cp -r html site && zip -r site.zip site
6666 @curl -H " Content-Type: application/zip" -H " Authorization: Bearer ${NETLIFY} " \
6767 --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