Closed sander closed 4 years ago
This is really fantastic, thank you @sander! Given that the current workflow involves me running similar commands manually, this is a huge improvement.
I will try this out on my end soon.
I will close this PR as I am now testing on my own branch. Thanks again!
To make collaboration easier and more engaging, I propose to set up continuous deployment from the
master
branch. Any time a PR is merged (after review), the GitHub Actions machine clears all non-design documents from the live database and runs the already-existingbulk-couch-docs.sh
.See: https://github.com/sander/datascienceontology/commit/96a3bce5cb45d5657e549504fe426afa44c3f245/checks?check_suite_id=336326306 for a proof-of-concept demo.
To make this work in
master
:COUCH_URL
andIAM_API_KEY
under Secrets (I do not have access myself obviously).refs/head/master
instead of the proof-of-conceptrefs/heads/feat/auto-publish
.Notes:
bulk-couch-docs.sh
work on my machine.What do you think of this approach @epatters?