@hamelsmu (I’ve just started using fast pages and absolutely love it - thanks for all your work on it.)
Is there any documentation on setting a scheduled github action to refresh a jupyter notebook and refresh fast pages blog? I know that you’ve set this up for the covid tracker github page. I’ve attempted to copy your update-nb.yaml file and adapt it for my project/blog (and the run_notebooks.sh file which I haven’t changed at all).
My yaml file is here
I modified the yaml file so that it only run runs on schedule. I.e:
name: Update Notebooks And Refresh Page on: schedule: - cron: '0 3 * * *'
I’ve removed some of the code if it was written to run on non-schedule events. I’ve left the GITHUB_TOKEN and SSH_DEPLOY_KEY code in there but I think that’s fine. I’ve also got a ‘github-actions[bot]’ in the code and not sure if that causes problems for running on my account.
I’ve read the github actions documentation, but am not that familiar with .yaml files in general and have only just started using github. So apologies if this is a basic question, and an open-ended one. I’m still learning how to write good questions.
What I could benefit from are the following:
1 - any links to docs on automating running of jupyter nbs on github (either as part of fast pages or stand alone)
2 - any links to docs on how to debug git hub workflows - I just get an ‘exit code 1’ and don’t know what to do with it.
3 - and of course any tips on how I can get to a solution!