generate documentation on master
All checks were successful
Build LaTeX packages / build (push) Successful in 1m42s

This commit is contained in:
Maximilian Keßler 2023-10-19 02:23:39 +02:00
parent 8798571831
commit c07e84d91b
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -33,13 +33,16 @@ jobs:
.ci/deploy_to_build_repo.sh .ci/deploy_to_build_repo.sh
env: env:
REF_NAME: ${{ github.ref_name }} REF_NAME: ${{ github.ref_name }}
- name: Compile documentation
if: github.ref == 'refs/heads/master'
run: make doc
- name: Prepage pages - name: Prepage pages
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: | run: |
cd build cd build
rm -rf packages/.git # Don't deploy the git files rm -rf packages/.git # Don't deploy the git files
zip -r latex-packages.zip packages/ -x '*.git*' zip -r latex-packages.zip packages/ -x '*.git*'
zip -r latex-packages-doc.zip doc zip -r latex-packages-doc.zip doc/
- name: Deploy to pages - name: Deploy to pages
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
uses: actions/pages@v1 uses: actions/pages@v1