mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #63] [QUESTION] How to update when deployed via Heroku Quick Deploy? #42
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pred2k on GitHub (May 18, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/63
It's awesome how easy (and cheap) it is to deploy it to heroku. ❤️
And it works really great since a week.
But now i saw nice changes like https-only and so on and i tried to find out how i update a heroku app.
Found https://blog.heroku.com/six-strategies-deploy-to-heroku where he says:
Could someone help me here please?
Is heroku cli the way to go? Or can i link my github account to the app for automated updates?
@pred2k commented on GitHub (May 18, 2020):
I've played around and it looks like following does a deployment of current master to my heroku deployment created via Heroku Quick Deploy:
and future updates would be:
What i still need to figure out is, how to deploy release tags only.
From https://devcenter.heroku.com/articles/git#deploying-from-a-branch-besides-master i've tested:
that probably fails because i pushed master before.
Could i do the following after the next release?
@benbusby commented on GitHub (May 19, 2020):
In the error from the second half of your comment, it seems like the only thing it's complaining about is the branch needing remote updates pulled in locally before pushing again (so all that would be needed is a
git pullbefore re-running that push command forv0.1.1). I have a couple heroku instances running, I'll try to test out this method this week sometime and see what I run into.@pred2k commented on GitHub (May 24, 2020):
Updating to the latest releases works like charm.
Having heroku CLI setup in a repo-clone like i wrote above, this one simply deploys a new release tag:
is the
README.mda place for this update steps?i'm now thinking about an automated deployment way for release tags of a heroku app.
The Heroku github connection only allows automatic deployments on own repos (forks dont have automated sync) and branches only.
https://devcenter.heroku.com/articles/github-integration#automatic-deploys
Is anyone more experienced with the github/heroku connection that can give an hint on that?
@benbusby commented on GitHub (Oct 26, 2020):
I added a wiki page with the contents of this discussion here. I'll look into how Herolku handles automatic deployments and update the wiki if I find anything enlightening.