-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Automatically deploy latest to a site #3309
Comments
@vorburger Thanks for creating this issue. I like the suggestion to use GitHub Action - we're also trying to get that in place for our mobile app repositories. I would be in favor of pointing it to https://cui.fineract.dev so we know this staging instance is fully on upstream, both back and front-end. |
I thought further about this, and have a new thought: Inspired by how https://github.com/openMF/web-app#getting-started-using lives at https://openmf.github.io/web-app/ (waiting for openMF/web-app#1256 BTW...), why even have a https://cui.fineract.dev at all?! Thinking about this again in retrospect, I now think setting it up like that was actually a mistake I made (one learns and is always wiser in hindsight!), because there really is nothing "fineract.dev" related to it! It's just... the UI - which thanks to that So what I will do for this issue here some time is instead to simply set up something like https://openmf.github.io/community-app/ - and then delete https://cui.fineract.dev. Makes sense? |
#3323 blocks this, and needs to be fixed, first. |
Actually this project has had https://openmf.github.io/community-app serving https://github.com/openMF/community-app/tree/gh-pages for years, but it was last manually updated 3 years ago by @botraunak and before that 7 years ago by @Nayan. What I'll do in this issue is to have the PS: I've enabled Enforce HTTPS on https://github.com/openMF/community-app/settings. |
FTR: The https://docs.travis-ci.com/user/deployment/pages/ which I've added in e8eb09d, inspired by https://github.com/openMF/web-app/blob/master/.travis.yml, initially failed with:
This is because no However, re-using the https://developer.github.com/v3/guides/managing-deploy-keys/#machine-users account https://github.com/mifos-bot originally created for #3112 is a good fit here - I've created a PAT under that account (the bot didn't mind...), and used that instead. Note that it was important NOT to limit With that, https://github.com/openMF/community-app/commits/gh-pages has the first new commit in years, by @traviscibot, yay. https://openmf.github.io/community-app therefore now always contains the app built from the I'll now update the README accordingly (as agreed on private chat with @edcable). |
It could be useful to automatically deploy the latest community app somewhere.
This could be implemented by reusing the Dockerfile.
It should be triggered by a GitHub Action.
Deployment could be e.g. to https://cui.fineract.dev
The text was updated successfully, but these errors were encountered: