Skip to content

Commit

Permalink
Update BuildExercise.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wallscheid authored Jul 15, 2024
1 parent 390739b commit c83cb04
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/BuildExercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
build_exericse_latex:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
Expand All @@ -18,17 +18,7 @@ jobs:
run: |
cd exercise
python3 build.py
build_lecture_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
cd ..
cd lecture
python3 build.py
- name: Upload PDF file
Expand All @@ -37,8 +27,9 @@ jobs:
name: github-pages
path: built/


deploy:
needs: [build_exericse_latex, build_lecture_latex]
needs: build_latex

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down

0 comments on commit c83cb04

Please sign in to comment.