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 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 >
3737
3838 <footer class =" border-top footer text-muted" >
3939 <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 >
4141 </div >
4242 </footer >
4343 <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