forked from Hg/htlle-da-vorlage
functional docker action
This commit is contained in:
parent
09d03710d1
commit
b7faab0dcd
@ -11,17 +11,14 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: bytebang/htlle-da-env
|
|
||||||
options: --volume=${{ github.workspace }}:/workspace
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Copy PDF to workspace
|
- name: Build diploma thesis
|
||||||
run: |
|
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
|
- name: Send diploma thesis
|
||||||
uses: dawidd6/action-send-mail@v4
|
uses: dawidd6/action-send-mail@v4
|
||||||
@ -34,4 +31,4 @@ jobs:
|
|||||||
body: " "
|
body: " "
|
||||||
to: ${{ secrets.TEAMS_MAIL }}
|
to: ${{ secrets.TEAMS_MAIL }}
|
||||||
from: ${{ secrets.MAIL }}
|
from: ${{ secrets.MAIL }}
|
||||||
attachments: diplomarbeit.pdf
|
attachments: Diplomarbeit/diplomarbeit.pdf
|
||||||
|
Loading…
Reference in New Issue
Block a user