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

Review app example gets now executed on every push on a PR #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mattions
Copy link

Updated the review_app example, so it gets executed on each push.
Also added the --force to the example, because we do expect git to not be able to fast forward,
and this will make sure the task does not fail.

Finally, bonus track, added (commented out so we stay true to the example spirit), how to overwrite the deploy branch. A classic is to use main instead of master, so we have it there.

Comment on lines 28 to 29
# specify the name of the branch, in cas you do not use master
# branch: main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be removed tbh. There are other examples showing this. The review-app example isn't meant to be a kitchen sink, just what would make the 90% case work. If you normally deploy a different branch, then that should be configured in the app configuration (and therefore cloned). If it isn't cloned, then thats a bug in Dokku.

@mattions
Copy link
Author

mattions commented Jan 7, 2025

@josegonzalez I've update the PR according to your guidance.

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

Successfully merging this pull request may close these issues.

2 participants