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 8623e3a commit eb0ebe7Copy full SHA for eb0ebe7
.github/workflows/ci_docs.yml
@@ -147,6 +147,13 @@ jobs:
147
mv latex/pygmt.pdf pygmt-docs.pdf
148
cd ../..
149
150
+ - name: Upload PDF as artifact for previewing on pull requests
151
+ uses: actions/[email protected]
152
+ if: github.event_name == 'pull_request' && matrix.os == 'ubuntu-latest'
153
+ with:
154
+ name: artifact-pygmt-docs-pdf
155
+ path: doc/_build/pygmt-docs.pdf
156
+
157
- name: Copy the HTML ZIP archive and PDF to the html folder for dev version
158
run: cp -v doc/_build/pygmt-docs.zip doc/_build/pygmt-docs.pdf doc/_build/html/
159
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest'
0 commit comments