2 Commits

Author SHA1 Message Date
Sean O'Connor
65139ac3b1 feat: conditionally upload private PDFs based on the Git server and update the GitHub upload action to v4. 2026-02-04 12:51:31 -05:00
Sean O'Connor
eeba5c7aea fix: Update Gitea release action token to GITHUB_TOKEN and downgrade upload-artifact action to v3.
All checks were successful
Compile LaTeX Documents / build-public (push) Successful in 49s
Compile LaTeX Documents / build-private (push) Successful in 56s
2026-02-04 12:47:01 -05:00

View File

@@ -101,7 +101,7 @@ jobs:
if: github.server_url != 'https://github.com'
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
files: |
resume.pdf
cv.pdf
@@ -114,7 +114,7 @@ jobs:
if: github.server_url != 'https://github.com'
uses: akkuman/gitea-release-action@v1
with:
token: ${{ secrets.GITEA_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
files: |
resume.pdf
cv.pdf
@@ -183,8 +183,18 @@ 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
path: |