diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 4b0fd8e..137397c 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -17,28 +17,11 @@ jobs: echo "Docker images: $(docker images)" echo "end outer print" - - name: manual docker test - run: | - pwd - touch testfile - ls - echo "starting docker now" - docker run --help - docker run --rm -v "$pwd:$pwd" -w "$pwd" 'aergus/latex' /bin/bash -eo pipefail '-c' '--' $'pwd && ls /workspace/testorg/ci-test' - echo "docker ended" - name: compile - uses: xu-cheng/texlive-action@v2 - with: - docker_image: aergus/latex - run: | - echo "in inner container" - pwd - ls /workspace/testorg/ci-test - echo "end inner print" - echo "starting compilation" + run: | latexmk main.tex - name: upload uses: actions/upload-artifact@v3 with: - name: artifact.tex - path: main.tex + name: out.pdf + path: main.pdf