Skip to content

Commit c13bff6

Browse files
update readme (#4)
1 parent d7c6b8d commit c13bff6

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

GitHubEnvDemo.Web/Views/Shared/_Layout.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>@ViewData["Title"] - GitHub env demo</title>
6+
<title>@ViewData["Title"] - GitHub environment demo</title>
77
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
88
<link rel="stylesheet" href="~/css/site.css" />
99
</head>
1010
<body>
1111
<header>
1212
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
1313
<div class="container">
14-
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">GitHub env demo</a>
14+
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">GitHub environment demo</a>
1515
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarSupportedContent"
1616
aria-expanded="false" aria-label="Toggle navigation">
1717
<span class="navbar-toggler-icon"></span>
@@ -37,7 +37,7 @@
3737

3838
<footer class="border-top footer text-muted">
3939
<div class="container">
40-
&copy; 2021 - GitHub env demo - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
40+
&copy; 2021 - GitHub environment demo - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
4141
</div>
4242
</footer>
4343
<script src="~/lib/jquery/dist/jquery.min.js"></script>

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
This is a demo app to show CI CD with GitHub action and environment.
1+
# GitHub environment demo
2+
3+
This is a demo app to show CI CD with GitHub action and environment.
4+
5+
There are two environments in this repo.
6+
7+
- Dev
8+
- Prd
9+
10+
CI CD workflow used for this app.
11+
12+
- For pull request to `main` only build.
13+
- When pull request merged in `main` then build and deploy to `Dev` environment.
14+
- When a release has been created then deploy to `Prd` environment.
15+
16+
Deployment to `Prd` environment needs approval.

0 commit comments

Comments
 (0)