Bird
0
0

Which of the following is a correct minimal GitHub Actions workflow file name and location for a Flask CI/CD pipeline?

easy📝 Syntax Q12 of 15
Flask - Deployment
Which of the following is a correct minimal GitHub Actions workflow file name and location for a Flask CI/CD pipeline?
A.github/workflows/flask-ci.yml
Bgithub/actions/flask-ci.yaml
C.github/actions/flask-ci.yml
Dworkflows/.github/flask-ci.yml
Step-by-Step Solution
Solution:
  1. Step 1: Identify GitHub Actions workflow file location

    GitHub Actions requires workflow files inside the repository at .github/workflows/ directory.
  2. Step 2: Check file name and extension

    The file should have a .yml or .yaml extension. .github/workflows/flask-ci.yml uses correct directory and file name.
  3. Final Answer:

    .github/workflows/flask-ci.yml -> Option A
  4. Quick Check:

    Workflow files go in .github/workflows/ = D [OK]
Quick Trick: GitHub Actions workflows live in .github/workflows/ [OK]
Common Mistakes:
MISTAKES
  • Placing workflow files outside .github/workflows/
  • Using wrong file extensions
  • Misnaming the directory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Flask Quizzes