conoro / tiktok-rss-flat

Generate RSS feeds for TikTok accounts
Apache License 2.0
72 stars 189 forks source link

post fetch phase uses wrong url and gives error 128 on /usr/bin/git push #23

Closed ttscrape closed 1 year ago

ttscrape commented 1 year ago

The extraction from TikTok actually works well, data is being fetched and the xml files are prebuilt in memory, only during the post fetch data phase I get an error from get (128).

It tries to go to the github.com url instead of the subdomain.github.io one. The url configured in ghPagesURL / postprocessing.py doesn't seem to be used. Any advice?

/usr/bin/git push remote: Permission to xxx/tiktok-rss.git denied to github-actions[bot]. fatal: unable to access 'https://github.com/xxx/tiktok-rss/': The requested URL returned error: 403 Error: Post script failed! The process '/usr/bin/git' failed with exit code 128

conoro commented 1 year ago

@ttscrape It might be a permissions issue. Check the repo Settings > GitHub Actions > General > Workflow Permissions. Make sure it's set to Read & Write permissions.

ttscrape commented 1 year ago

That did the trick. Thanks for the help @conoro