01
- 1.6 Make a change to a deployment script
- Learning Objectives
- Make a change to a deployment script and commit to GitHub.
1.6 Make a change to a deployment script
Learning Objectives
By the end of this lesson you will be able to:
- Change an existing deployment script and commit it to GitHub.
Make a change to a deployment script and commit to GitHub.
- From the root directory of your EC2 instance change directory to devopsinthecloud.
Open the test file as shown below.
“` $ sudo vim deploy.rb
“`
From the root directory of your EC2 instance change directory to devopsinthecloud.
- Make a modification to the contents of the file and save it.
Add the file in Git
“` $ git add .
“`
Commit the file to Git
“` $ git commit -m “Modified deployment script”
“`
Push it to the Git master.
“` $ git push
“`