Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Uno-Takashi committed Jun 19, 2022
1 parent 52d11ea commit acda806
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,16 @@ jobs:
asset_path: ${{ env.ARTIFACT_PATHNAME }}
asset_name: ${{ env.ARTIFACT_NAME }}
asset_content_type: application/x-wheel+zip
- uses: ammaraskar/sphinx-action@master
- name: pull builder image
run: docker pull macrat/sphinx-pdf
- name: build pdf
run: docker run --rm --user $UID -v `pwd`:/docs macrat/sphinx-pdf
- name: upload PDF
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
docs-folder: "docs/"
pre-build-command: "apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended"
build-command: "make latexpdf"
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./_build/latex/sphinx.pdf
asset_name: manual.pdf
asset_content_type: application/pdf

0 comments on commit acda806

Please sign in to comment.