File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
GitHubEnvDemo.Web/Views/Shared Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 3
3
<head >
4
4
<meta charset =" utf-8" />
5
5
<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 >
7
7
<link rel =" stylesheet" href =" ~/lib/bootstrap/dist/css/bootstrap.min.css" />
8
8
<link rel =" stylesheet" href =" ~/css/site.css" />
9
9
</head >
10
10
<body >
11
11
<header >
12
12
<nav class =" navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3" >
13
13
<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 >
15
15
<button class =" navbar-toggler" type =" button" data-toggle =" collapse" data-target =" .navbar-collapse" aria-controls =" navbarSupportedContent"
16
16
aria-expanded =" false" aria-label =" Toggle navigation" >
17
17
<span class =" navbar-toggler-icon" ></span >
37
37
38
38
<footer class =" border-top footer text-muted" >
39
39
<div class =" container" >
40
- © ; 2021 - GitHub env demo - <a asp-area =" " asp-controller =" Home" asp-action =" Privacy" >Privacy</a >
40
+ © ; 2021 - GitHub environment demo - <a asp-area =" " asp-controller =" Home" asp-action =" Privacy" >Privacy</a >
41
41
</div >
42
42
</footer >
43
43
<script src =" ~/lib/jquery/dist/jquery.min.js" ></script >
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments