ProjectPythia / cookbook-template

Project Pythia Cookbook template
https://projectpythia.org/cookbook-template/
Apache License 2.0
21 stars 16 forks source link

GitHub action to auto update all links that point to cookbook-template GH repo to point to real cookbook #126

Closed jukent closed 1 year ago

jukent commented 1 year ago

This looks for the cookbook-template and the repo ID number and replaces them with the new repo name and ID number. This has affects in a few files reducing the burden of the cookbook creator to track down all of these places that need to be changed. This workflow must be manually triggered and should only need to be called once per cookbook.

See this work on a dummy cookbook here: https://github.com/jukent/draft-cookbook/commit/d4c08cdd1ed3ca2589644de7086673948fcde622#diff-ecec67b0e1d7e17a83587c6d27b6baaaa133f42482b07bd3685c77f34b62d883

github-actions[bot] commented 1 year ago

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: fc79a0f60c871c8c37563a5735f1d0324de5402c ✅ Deployment Preview URL: https://ProjectPythia.github.io/cookbook-template/_preview/126

jukent commented 1 year ago

The title in the README.md and in CITATION.cff still need to be manually edited.

jukent commented 1 year ago

Yes that's correct. I will work on writing up the steps for both this and the Zenodo infrastructure today.