-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Deploy documentation HTML ZIP archive and PDF file for dev versions #3794
Conversation
657741e
to
5be347d
Compare
.github/workflows/ci_docs.yml
Outdated
- name: Upload the HTML ZIP archive and PDF as release assets | ||
run: gh release upload ${{ github.ref_name }} doc/_build/pygmt-docs.zip doc/_build/pygmt-docs.pdf | ||
if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plan is to keep the first two steps in this PR and open a separate PR for the 3rd step (uploading as release assets) since this step needs more testing than the other two steps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted in c4a3fa1.
With this PR merged, now the HTML ZIP and PDF file for the dev version can be accessed using the following links: |
For dev versions, deploy the pygmt-docs.zip and pygmt-docs.pdf files into the dev folder in the gh-pages branch.
Addressing #3731 (comment).