Skip to content

Commit

Permalink
Clarifying which directory to check in to Github for CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
yevster committed Feb 1, 2020
1 parent 6e80f78 commit aecf59d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions 11-configure-ci-cd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,19 @@ We are going to automate the deployment of the `weather-service` microservice th

## Configure GitHub

[Create a new GitHub repository](https://github.com/new) and commit the code from the `weather-service` microservice into that repository.
[Create a new GitHub repository](https://github.com/new) and commit the code from the `weather-service` microservice into that repository:

>💡 Note: this should be a different repository than the one you used to store configuration in section 4.
> 🛑 Make sure you substitute the Git URL from your own github repository (make sure you use the HTTPS URL, not the SSH URL). This should be a different repository than the one you used to store configuration in section 4. If a login dialog appears, log in with your regular GitHub credentials.
```bash
cd weather-service
git init
git add .
git commit -m 'Initial commit'
git remote add origin <GIT HTTPS URL HERE>
git push origin master
cd ..
```

You now need to allow access from your GitHub workflow to your Azure Spring Cloud instance. Open up a terminal and type the following command, replacing `$RESOURCE_GROUP_NAME` with the name of your resource group.

Expand Down

0 comments on commit aecf59d

Please sign in to comment.