Skip to content

Commit

Permalink
BPC-KOM: CI/CD místo použití exportu z MS Word
Browse files Browse the repository at this point in the history
  • Loading branch information
kamen-u-cesty authored and jedla97 committed Jun 4, 2021
1 parent 0847e57 commit db5e168
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,12 @@ jobs:
working_directory: BPC-KKR
root_file: main.tex

# BPC-KOM was created in Word, not LaTeX. It is well-formatted,
# so we're ignoring build for this subject.
# - name: Build BPC-KOM
# uses: xu-cheng/latex-action@v2
# with:
# latexmk_shell_escape: true
# working_directory: BPC-KOM
# root_file: main.tex
- name: Build BPC-KOM
uses: xu-cheng/latex-action@v2
with:
latexmk_shell_escape: true
working_directory: BPC-KOM
root_file: main.tex

- name: Build BPC-MDS
uses: xu-cheng/latex-action@v2
Expand Down Expand Up @@ -200,8 +198,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_draft_release.outputs.upload_url }}
# We do have prepared PDF, use it instead of LaTeX build.
asset_path: ./BPC-KOM/word-export.pdf
asset_path: ./BPC-KOM/main.pdf
asset_name: BPC-KOM.pdf
asset_content_type: application/pdf

Expand Down

0 comments on commit db5e168

Please sign in to comment.