forked from Hg/htlle-da-vorlage
functional docker action
This commit is contained in:
parent
09d03710d1
commit
b7faab0dcd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user