Dodajemy nowy .jaml
This commit is contained in:
27
.giteaworkflowsbuild.yaml
Normal file
27
.giteaworkflowsbuild.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user