-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
External blogposts from substack appear locally but throws an error upon deployment #2116
Comments
I tried adding your external source to config and didn't run into any issues building it locally from the master branch. my only guess is maybe you just need to update ruby to 3.2.2? (both locally and in your github runner config) |
How do I update ruby in my github runner config? Also, I didn't run into any issues building it locally; it's the deployment from github that is problematic |
are you using github actions for automatic deployment? if that's the case, you just need to update the version in al-folio/.github/workflows/deploy.yml Lines 21 to 25 in 1d84621
|
I tried both 3.1.4 (the version I have locally) and 3.2.2, but with no luck. Same error message. I'm positive the problem is with feedjira because it deploys fine when I don't include the external feed, but the ruby, feedjira, and jekyll versions on the Github pages deployment are all identical to my local ruby installation. I am using |
Before anything try to replicate the GitHub website locally. Do exactly what is done in the deploy action, more specifically: export JEKYLL_ENV=production
bundle exec jekyll build --lsi The One thing that might be causing the issue is older libraries. For instance in #2073 the site of some users were throwing some errors due to deprecated old libraries. Maybe if you update them it could work. Also as I suggested there you could get the tip of master branch and the tip of yours and run a diff between the two directories with a tool like meld or winmerge. They make the process of manual merge a little easier. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Had a similar issue with trying to include my substack. After printing out the variable I found that others had a similar issue, Athou/commafeed#1138. I'm looking into solutions, but I figured I'd leave a comment. |
Came up with a solution, it's kind of rough, in external-posts.rb, I added the following line after reading in the xml file,
where 'substack.rss' is generated by calling the following bash command |
What if you somehow set the user agent used to fetch this information? Like it is done in here? |
Acknowledge the following
[For usage questions, please post in the Discussions instead of raising an issue.]
Describe the bug
I have a website that has been working fine. I recently decided to move my blog to substack and use the external RSS feed instead, but I am getting the error
and the website fails to deploy. It works again when I remove the external feed from the _config.yml file. The website displays the blogs fine locally. Full error message is attached.
deploy errmsg.txt
To Reproduce
Steps to reproduce the behavior:
In _config.yml, add an external RSS feed i.e.
Expected behavior
Github deployment mimics local deployment.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: