diff --git a/.github/workflows/compile-latex.yml b/.github/workflows/compile-latex.yml index 90d955a..2b61526 100644 --- a/.github/workflows/compile-latex.yml +++ b/.github/workflows/compile-latex.yml @@ -183,7 +183,17 @@ jobs: - name: List generated PDFs run: ls -la *.pdf - - name: Upload Private PDFs + - name: Upload Private PDFs (GitHub) + if: github.server_url == 'https://github.com' + uses: actions/upload-artifact@v4 + with: + name: private-documents + path: | + resume.pdf + cv.pdf + + - name: Upload Private PDFs (Gitea) + if: github.server_url != 'https://github.com' uses: actions/upload-artifact@v3 with: name: private-documents