From ab64aa83841c35253cf55acaa30b5b1872992cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Wed, 5 Feb 2025 00:47:21 +0100 Subject: [PATCH] disable latex build for now --- .forgejo/workflows/deploy.yml | 84 +++++++++++++++++------------------ 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 79bb47b..2d21479 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -8,51 +8,51 @@ env: jobs: # TODO: belongs in the other repo - build-latex: - name: Build LaTeX documents - runs-on: alpine-latex - defaults: - run: - shell: ash -eo pipefail {0} - steps: - - name: Install dependencies - run: apk add --no-cache nodejs git openssh - - name: Checkout LaTeX repository - run: git clone https://git.ctbk.de/ctbk/ctbk-satzung.git satzung - # uses: actions/checkout@v4 - - name: Clone main repo for scripts - run: git clone https://github.com/${{ github.repository }} website - - run: mkdir satzung/build satzung/output + # build-latex: + # name: Build LaTeX documents + # runs-on: alpine-latex + # defaults: + # run: + # shell: ash -eo pipefail {0} + # steps: + # - name: Install dependencies + # run: apk add --no-cache nodejs git openssh + # - name: Checkout LaTeX repository + # run: git clone https://git.ctbk.de/ctbk/ctbk-satzung.git satzung + # # uses: actions/checkout@v4 + # - name: Clone main repo for scripts + # run: git clone https://github.com/${{ github.repository }} website + # - run: mkdir satzung/build satzung/output - - name: Make LaTeX script executable - run: chmod +x website/.forgejo/workflows/latex.sh - - name: Build Satzung - working-directory: satzung - run: ../website/.forgejo/workflows/latex.sh Satzung.tex build - - name: Build Geschäftsordnung - working-directory: satzung - run: ../website/.forgejo/workflows/latex.sh Geschaeftsordnung.tex build - - name: Build Gebührenordnung - working-directory: satzung - run: ../website/.forgejo/workflows/latex.sh Gebuehrenordnung.tex build - - name: Build Mitgliedsantrag - working-directory: satzung/Mitgliedsantrag-main - run: ../../website/.forgejo/workflows/latex.sh Mitgliedsantrag_Lastschriftmandat_klein.tex ../build + # - name: Make LaTeX script executable + # run: chmod +x website/.forgejo/workflows/latex.sh + # - name: Build Satzung + # working-directory: satzung + # run: ../website/.forgejo/workflows/latex.sh Satzung.tex build + # - name: Build Geschäftsordnung + # working-directory: satzung + # run: ../website/.forgejo/workflows/latex.sh Geschaeftsordnung.tex build + # - name: Build Gebührenordnung + # working-directory: satzung + # run: ../website/.forgejo/workflows/latex.sh Gebuehrenordnung.tex build + # - name: Build Mitgliedsantrag + # working-directory: satzung/Mitgliedsantrag-main + # run: ../../website/.forgejo/workflows/latex.sh Mitgliedsantrag_Lastschriftmandat_klein.tex ../build - - name: Move PDFs to output directory - working-directory: satzung - run: | - mv build/*.pdf output - mv output/Mitgliedsantrag_Lastschriftmandat_klein.pdf output/Mitgliedsantrag.pdf + # - name: Move PDFs to output directory + # working-directory: satzung + # run: | + # mv build/*.pdf output + # mv output/Mitgliedsantrag_Lastschriftmandat_klein.pdf output/Mitgliedsantrag.pdf - - name: Output SSH key to file - working-directory: satzung - run: | - echo "${{ secrets.SSH_KEY }}" > ssh_id - chmod 0600 ssh_id - - name: Transfer built files - working-directory: satzung - run: scp -i ssh_id -o StrictHostKeyChecking=accept-new -r ./output/. ${{ env.SERVER_URL }}/docs + # - name: Output SSH key to file + # working-directory: satzung + # run: | + # echo "${{ secrets.SSH_KEY }}" > ssh_id + # chmod 0600 ssh_id + # - name: Transfer built files + # working-directory: satzung + # run: scp -i ssh_id -o StrictHostKeyChecking=accept-new -r ./output/. ${{ env.SERVER_URL }}/docs build-website: name: Build and deploy website