Skip to content
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

Add documentation (template?) for GitHub CI/CD workflow #47

Open
tschaffter opened this issue Aug 29, 2020 · 2 comments
Open

Add documentation (template?) for GitHub CI/CD workflow #47

tschaffter opened this issue Aug 29, 2020 · 2 comments

Comments

@tschaffter
Copy link
Collaborator

Similar to #4 but for GitHub CI/CD workflow

A work in progress implementation is available in this PR: nlpsandbox/nlpsandbox-schemas#7

@tschaffter
Copy link
Collaborator Author

@jaeddy @jb-adams Here is a working example that I created for a repository that hosts multiple OpenAPI specifications:
https://github.com/Sage-Bionetworks/nlp-sandbox-schemas/blob/develop/.github/workflows/ci.yml

Additional information are available here:
nlpsandbox/nlpsandbox-schemas#30

@jb-adams
Copy link
Member

jb-adams commented Nov 3, 2020

Thanks @tschaffter !

Similar to #64 , I'd prefer to put this logic into the app itself to avoid replicating build/push logic across .travis.yml files for different GA4GH specs. I've started a feature branch to do this. In particular, the files gh-pages.js and git-config.js are handling similar logic as to what's in your ci.yml file.

I'm able to build, commit, and push to gh-pages all from a docker container running the app. Here is the repo containing a dummy "Hello World" API spec, that, when updated and pushed, triggers a push to gh-pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants