Search⌘ K
AI Features

Import Symfony Application and Save Files to GitHub Repository

Understand how to import a Symfony application into a GitHub repository, configure AWS Elastic Beanstalk for deployment, and set up GitHub Actions CI/CD workflows. This lesson guides you through cloning repos, managing environment configurations, and pushing all changes to enable automated web app deployment.

Import the GitHub repo

Let’s bring our previous work on Symfony into the terminal below.

In the Educative terminal below, set the Git environment variables, GitHub username, and AWS keys.

  1. Run the command below to clone the GitHub repo:
Shell
git clone https://$(echo $GITHUB_USERNAME)@github.com/$(echo $GITHUB_USERNAME)/educative-course-github-pipeline.git

Your password is the PAT you created earlier.

  1. Remove the README.md file by running the commands below because it was being used for testing.
Shell
rm -rf educative-course-github-pipeline/README.md

Add

...