We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6736ce commit faa635dCopy full SHA for faa635d
.github/workflows/ci_docs.yml
@@ -139,6 +139,18 @@ jobs:
139
- name: Build the PDF documentation
140
run: make -C doc pdf
141
142
+ - name: Create the HTML ZIP archive and rename the PDF file
143
+ run: |
144
+ cd doc/_build/
145
+ cp -r html/ pygmt-docs/
146
+ zip -r pygmt-docs.zip pygmt-docs/
147
+ mv latex/pygmt.pdf pygmt-docs.pdf
148
+ cd ../..
149
+
150
+ - name: Copy the HTML ZIP archive and PDF to the html folder for dev version
151
+ run: cp -v doc/_build/pygmt-docs.zip doc/_build/pygmt-docs.pdf doc/_build/html/
152
+ if: github.event_name == 'push' && matrix.os == 'ubuntu-latest'
153
154
- name: Checkout the gh-pages branch
155
uses: actions/[email protected]
156
with:
0 commit comments