diff --git a/tools/github/diploma-thesis-docker.yml b/tools/github/diploma-thesis-docker.yml index 20747b8..1a3f5bf 100644 --- a/tools/github/diploma-thesis-docker.yml +++ b/tools/github/diploma-thesis-docker.yml @@ -11,17 +11,14 @@ on: jobs: build: runs-on: ubuntu-latest - container: - image: bytebang/htlle-da-env - options: --volume=${{ github.workspace }}:/workspace steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Copy PDF to workspace + - name: Build diploma thesis run: | - cp /workspace/Diplomarbeit/diplomarbeit.pdf $GITHUB_WORKSPACE/diplomarbeit.pdf + docker run --rm -v ${{ github.workspace }}/Diplomarbeit:/workspace bytebang/htlle-da-env - name: Send diploma thesis uses: dawidd6/action-send-mail@v4 @@ -34,4 +31,4 @@ jobs: body: " " to: ${{ secrets.TEAMS_MAIL }} from: ${{ secrets.MAIL }} - attachments: diplomarbeit.pdf + attachments: Diplomarbeit/diplomarbeit.pdf diff --git a/tools/github/diploma-thesis.yml b/tools/github/diploma-thesis-manual.yml similarity index 94% rename from tools/github/diploma-thesis.yml rename to tools/github/diploma-thesis-manual.yml index 5fe2ead..245b3a2 100644 --- a/tools/github/diploma-thesis.yml +++ b/tools/github/diploma-thesis-manual.yml @@ -36,4 +36,4 @@ jobs: body: " " to: ${{ secrets.TEAMS_MAIL }} from: ${{ secrets.MAIL }} - attachments: Diplomarbeit/diplomarbeit.pdf \ No newline at end of file + attachments: Diplomarbeit/diplomarbeit.pdf