Usuwanie kontenera w .jaml
Some checks failed
Build Documentation / budowanie_dokumentacji (push) Failing after 1m12s
Some checks failed
Build Documentation / budowanie_dokumentacji (push) Failing after 1m12s
This commit is contained in:
@@ -3,25 +3,19 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
budowanie_dokumentacji:
|
budowanie_dokumentacji:
|
||||||
# To musi pasować do Twojego runnera, o którym pisałeś wcześniej
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Ustawiamy obraz Docker bezposrednio dla całego zadania (podobnie jak image w GitLab)
|
|
||||||
container:
|
|
||||||
image: registry.gitlab.com/islandoftex/images/texlive:latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run Makefile
|
- name: Run Makefile in Docker
|
||||||
|
# Odpalamy kontener z LaTeXem tylko na ten jeden moment, mapując folder z kodem
|
||||||
run: |
|
run: |
|
||||||
# Wywołujemy Twoją komendę
|
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace registry.gitlab.com/islandoftex/images/texlive:latest make all
|
||||||
make all
|
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Dokumentacja_Archivium_v${{ github.run_number }}
|
name: Dokumentacja_PDF
|
||||||
path: "*.pdf"
|
path: "*.pdf"
|
||||||
retention-days: 7
|
|
||||||
Reference in New Issue
Block a user