diff --git a/.giteaworkflowsbuild.yaml b/.giteaworkflowsbuild.yaml new file mode 100644 index 0000000..2bc5e2a --- /dev/null +++ b/.giteaworkflowsbuild.yaml @@ -0,0 +1,27 @@ +name: Build Documentation +on: [push] + +jobs: + budowanie_dokumentacji: + # To musi pasować do Twojego runnera, o którym pisałeś wcześniej + 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: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run Makefile + run: | + # Wywołujemy Twoją komendę + make all + + - name: Upload Artifacts + uses: actions/upload-artifact@v3 + with: + name: Dokumentacja_Archivium_v${{ github.run_number }} + path: "*.pdf" + retention-days: 7 \ No newline at end of file