-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no PDF is generated #15
Comments
I have a similar issue with the following error message:
|
I was also confused by this as it's not very clear from the documentation. The pdf isn't supposed to appear in the repository, it will appear as an 'artifact' of the github action. For your repository, click the (note: On my machine the download is failing for some reason, both for your repo and my own, but I think this is a temporary issue as it worked yesterday) |
Thank you so much! Now I see the generated paper.pdf, and I can download it on my side, which is great! Thanks again! |
Thanks @simonrp84 I was confused by this also. I wonder why it cannot save to the folder directly? Would it not be simpler? I wonder if there is a way to automatize this action in the GHA so that we also always have access to the latest PDF in the folder without having to go to the workflow run, download the zip locally, unzip the file, and then reupload the PDF to github... If someone knows a solution I would be happy to hear it. |
Ok got it! Just add the following as the last step of the GHA:
|
Hi I am receiving an error generating a pdf file and I am not sure what the reason is. Would it be possible to consult someone to check if my markdown syntax and my yml files are correct? |
@rempsyc I run into the same problem. I didn't want to commit the paper.pdf from my local built so I added it to the .gitignore. Do you know whether your addition to the github action is in conflict with that? I'm also just looking for an automated link where I can read the current state of the paper.md as pdf |
I think I had not added paper.pdf to .gitignore, so when the action ran, it just overwrote my local paper.pdf. Perhaps it conflicts. You should try removing it from .gitignore to see if it solves the issue (just in case). Note that this approach ended up a bit cumbersome as I had to pull changes (to receive the new PDF) every time I made a new commit and sometimes forgot so had to merge, etc. |
Okay will give it a try, it would be nice if the pdf could just be deployed similar to the documentation, with the actual pdf outside of the pull request |
For the record: Yes, having the paper.pdf in the .gitignore will effectively disable the github action commiting the paper.pdf that same pull request |
In case of further elaboration on this #15 (comment) |
Hi, here is the edited action in my repo https://github.com/Yingjie4Science/SDGdetector/blob/main/.github/workflows/draft-pdf.yml. There is no error, but no PDF is found in the repo, see https://github.com/Yingjie4Science/SDGdetector/tree/main/paper. Any advice? Thanks!
The text was updated successfully, but these errors were encountered: