Skip to content

Workflow file for this run

name: "Release"
<<<<<<< HEAD

Check failure on line 3 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
on:
workflow_run:
=======
on: push
#workflow_run:
>>>>>>> 3baf2b2 (upd)
#workflows: ["Tex format CI"]
#types: [completed]
#branches: "main"
permissions:
contents: write
jobs:
#release:
on-success:
name: "Release"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Install pdflatex
run: |
apt update
apt upgrade
apt install texlive-full
- name: Create directory
run: mkdir .build
- name: Build pdfs
run: |
find src -name '*.tex' -exec pdflatex {} \;
mv *.pdf .build
- name: Commit report
run: |
git config --global user.name 'Thomas Lohse'
git config --global user.email '[email protected]'
git commit add .build
git commit -m ".build"
git push