From 604cca7389448b3c8025e2f3444e7cb1513003a1 Mon Sep 17 00:00:00 2001 From: Oliver Wallscheid <56304296+wallscheid@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:16:23 +0200 Subject: [PATCH 1/3] Update BuildExercise.yml --- .github/workflows/BuildExercise.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/BuildExercise.yml b/.github/workflows/BuildExercise.yml index 12044d7..21b49c9 100644 --- a/.github/workflows/BuildExercise.yml +++ b/.github/workflows/BuildExercise.yml @@ -18,11 +18,6 @@ jobs: run: | cd exercise python3 build.py - - name: Upload PDF file - uses: actions/upload-pages-artifact@v3 #actions/upload-artifact@v4 - with: - name: github-pages - path: exercise/built/ build_lecture_latex: runs-on: ubuntu-latest @@ -40,7 +35,7 @@ jobs: uses: actions/upload-pages-artifact@v3 #actions/upload-artifact@v4 with: name: github-pages - path: lecture/built/ + path: built/ deploy: needs: [build_exericse_latex, build_lecture_latex] From 390739b54db6c70a0e1fc4fbf7d7a68379d76640 Mon Sep 17 00:00:00 2001 From: Oliver Wallscheid <56304296+wallscheid@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:17:26 +0200 Subject: [PATCH 2/3] Update BuildLecture.yml --- .github/workflows/BuildLecture.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/BuildLecture.yml b/.github/workflows/BuildLecture.yml index 2306611..08ec9eb 100644 --- a/.github/workflows/BuildLecture.yml +++ b/.github/workflows/BuildLecture.yml @@ -3,6 +3,7 @@ on: push: paths: - lecture/** + - '**.tex' workflow_dispatch: jobs: From c83cb040b0c37b1c7177269dc9977733914621d8 Mon Sep 17 00:00:00 2001 From: Oliver Wallscheid <56304296+wallscheid@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:20:09 +0200 Subject: [PATCH 3/3] Update BuildExercise.yml --- .github/workflows/BuildExercise.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/BuildExercise.yml b/.github/workflows/BuildExercise.yml index 21b49c9..696e255 100644 --- a/.github/workflows/BuildExercise.yml +++ b/.github/workflows/BuildExercise.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - build_exericse_latex: + build_latex: runs-on: ubuntu-latest steps: - name: Set up Git repository @@ -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 @@ -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: