Skip to content

Commit

Permalink
Removed pdfs and fixed up workflow, actually works now
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Dec 16, 2024
1 parent e13c243 commit 251185e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# See https://docs.github.com/en/get-started/using-git/dealing-with-special-characters-in-branch-and-tag-names
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
TAG=v$(date -Iseconds | sed 's/[T:\+]/-/g')
TAG=v$(date -u '+%Y-%m-%d_%H-%M-%S_%Z')
echo "$TAG"
echo "tag=$TAG" >> $GITHUB_OUTPUT
git tag -a $TAG -m "Published version $TAG" ${GITHUB_SHA}
Expand All @@ -37,17 +37,3 @@ jobs:
with:
files: result/report.pdf
tag_name: ${{ steps.tag.outputs.tag }}

#- run: mkdir -p ./report/pdfs

#- run: cp result/* ./report/pdfs

#- run: git rm ./report/pdfs || echo "No pdfs directory yet."

#- name: Commit and push PDFs
# run: |
# git config --global user.name 'GitHub Actions'
# git config --global user.email '[email protected]'
# git add ./report/pdfs/*.pdf
# git commit -m "Update generated PDFs" || echo "No changes to commit"
# git push
Binary file removed pdf/handin.pdf
Binary file not shown.
Binary file removed pdf/report.pdf
Binary file not shown.
Binary file removed report/pdfs/report.pdf
Binary file not shown.

0 comments on commit 251185e

Please sign in to comment.