QuizFlow
Home
Contact
Admin
Support
Home
Contact
Admin
Support Us
GitHub Actions, Flask, SSH
Question 1 of 43
--:--
Progress
2%
Question 1
A team has a Flask application hosted on an EC2 instance. They want every push to the main branch to automatically run tests and deploy the app to EC2 using GitHub Actions. Which approach BEST follows CI/CD best practices?
Trigger GitHub Actions on pull requests only and manually deploy via SSH
Use GitHub Actions to run tests, then SSH into EC2 and restart the Flask app
Commit SSH private keys directly into the repository for deployment
Run the Flask app directly inside the GitHub Actions runner
Exit
Next
Help keep QuizFlow free and running!
Your support makes a difference
Consider donating today
Every contribution helps
Help keep QuizFlow free and running!
Your support makes a difference
Support Us