Add GitHub Actions CI/CD example for Flask app deployment#119
Open
davmano wants to merge 1 commit intotungbq:mainfrom
Open
Add GitHub Actions CI/CD example for Flask app deployment#119davmano wants to merge 1 commit intotungbq:mainfrom
davmano wants to merge 1 commit intotungbq:mainfrom
Conversation
tungbq
reviewed
May 9, 2025
|
|
||
| on: | ||
| push: | ||
| branches: [ main ] |
Owner
There was a problem hiding this comment.
Thanks for your contribution @davmano, I appreciate your interested on this project. this PR looks good to me, just one comment about the auto trigger event.
This would trigger and run the pipeline every push on main even if it's not related to the github-actions-flask-deploy project. Can you please add the filter on this push to only run when there has any change in the github-actions-flask-deploy folder only. Thanks.
Owner
|
Hi @davmano please also move this project content under |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What This Adds
This PR introduces a new example under
ci-cd/github-actions-flask-deploy:app.py).github/workflows/flask-deploy.yml)README.mdwith badgesHighlights
setup-pythonWhy It Matters
This helps DevOps learners or engineers get started with GitHub Actions for CI/CD pipelines using a realistic, minimal Flask app — a common use case.
Let me know if you'd like a second PR to demonstrate actual deployment to EC2 or Render.