-
Notifications
You must be signed in to change notification settings - Fork 571
Expand file tree
/
Copy pathcodestar-code.html
More file actions
executable file
·40 lines (34 loc) · 2.49 KB
/
codestar-code.html
File metadata and controls
executable file
·40 lines (34 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<div class="main-body-div" id="main-box">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-xs-12">
<!-- Main Body Content -->
<h2 class="page-title bg-primary">CodeStar: Code</h2>
<!-- inner body -->
<div class="inner-body panel">
<h4 class="sub-heading">Code - CodeCommit</h4>
<div class="inner-body panel">
<ul class="ul-listed">
<li>From the CodeStar project you created, click on the <strong>Code</strong> panel</li>
<li>Click the <strong>Connect</strong> button</li>
<li>Copy the <em>git clone</em> command to your Terminal window</li>
<li>Go to your local directortoes where your course repository is located and copy the local contents of the <a href"https://github.com/stelligent/devops-essentials/tree/master/html">html</a> folder into the <strong>public</strong> folder of your locally cloned CodeCommit repository and commit your changes as shown below</li>
<figure class="highlight">
<pre>
<code class="language-html" data-lang="html">git add .</code>
</pre>
<pre>
<code class="language-html" data-lang="html">git commit -am "add new files"</code>
</pre>
<pre>
<code class="language-html" data-lang="html">git push</code>
</pre>
</figure>
<li>Finally, go back to the CodeStar Dashboard and watch the pipeline discovery the new scommit while it runs a new pipeline revision</li>
<!-- code block -->
<figure class="highlight">
<img src="img/codestar-code.jpg" alt="" class="img-responsive thumbnail">
</figure>
</ul>
</div>
</div>