Compare commits

...

19 Commits

Author SHA1 Message Date
49999f16b8 Update rokoh/Pages/Shared/_Layout.cshtml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m37s
Umami Analytics.
2025-04-19 10:18:30 +10:00
5cd50fde6e Update rokoh/Pages/Shared/_Layout.cshtml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m38s
Matomo Analytics.
2025-04-18 19:06:56 +10:00
6d2a62d185 Update rokoh/Pages/Shared/_Layout.cshtml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m18s
Add: Plausilibe Analytics Header
2024-10-03 20:18:17 +10:00
1865652e5b Update rokoh/Pages/Shared/_Layout.cshtml
Some checks failed
Gitea CI/CD / build (push) Has been cancelled
Add: Plausilibe Analytics Header
2024-10-03 20:18:07 +10:00
fd366079b9 Update rokoh/Pages/Shared/_Layout.cshtml
Some checks failed
Gitea CI/CD / build (push) Has been cancelled
Add: Plausilibe Analytics Header
2024-10-03 20:17:09 +10:00
5516665824 Update rokoh/Pages/Shared/_Layout.cshtml
Some checks failed
Gitea CI/CD / build (push) Has been cancelled
Add: Plausible Analytics Header
2024-10-03 20:07:55 +10:00
clive
df543cc239 Commit: Add favicon.
All checks were successful
Gitea CI/CD / build (push) Successful in 1m40s
2024-05-19 13:59:45 +10:00
clive
b897f1d24e Commit: Action yaml.
All checks were successful
Gitea CI/CD / build (push) Successful in 1m45s
2024-05-19 13:00:23 +10:00
45444574db Update rokoh/Pages/Shared/_Layout.cshtml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m43s
Commit: Update copy date.
2024-05-17 11:00:10 +10:00
efb4b78d61 Update .gitea/workflows/default.yml
All checks were successful
Gitea CI/CD / build (push) Successful in 1m41s
Commit with prune.
2024-05-17 10:47:06 +10:00
6b78bc201b Update .gitea/workflows/default.yml
All checks were successful
Gitea CI/CD / build (push) Successful in 2m11s
Commit tag update.
2024-05-17 10:01:16 +10:00
c27fbb9e6f Update .gitea/workflows/default.yml
Some checks failed
Gitea CI/CD / build (push) Failing after 22s
Commit fix.
2024-05-17 09:55:43 +10:00
48709cb9c8 Update .gitea/workflows/default.yml
Some checks failed
Gitea CI/CD / build (push) Failing after 25s
Commit update.
2024-05-17 09:53:39 +10:00
cb8434e529 Update .gitea/workflows/default.yml
Some checks failed
Gitea CI/CD / build (push) Failing after 39s
Commit tag update.
2024-05-17 09:50:07 +10:00
3797191107 Update .gitea/workflows/default.yml
Some checks failed
Gitea CI/CD / build (push) Failing after 3m5s
Commit with docker prune.
2024-05-17 09:40:27 +10:00
clive
499cd16190 Master commit next.
All checks were successful
Gitea CI/CD / build (push) Successful in 34s
2024-05-13 14:17:35 +10:00
clive
6ebdadd059 Master commit store link.
Some checks failed
Gitea CI/CD / build (push) Failing after 1m43s
2024-05-13 13:57:14 +10:00
clive
06feaf97ec Master commit next.
All checks were successful
Gitea CI/CD / build (push) Successful in 1m8s
2024-05-07 01:02:25 +10:00
clive
a7045b7d3e Master commit next. 2024-05-07 01:01:19 +10:00
25 changed files with 90 additions and 40 deletions

View File

@@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Login to Docker registry - name: Login to Docker registry
uses: docker/login-action@v1 uses: docker/login-action@v2
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
@@ -38,5 +38,9 @@ jobs:
docker rm rokoh || true docker rm rokoh || true
docker image rm rokoh:latest docker image rm rokoh:latest
fi fi
docker pull registry.rokoh.com/rokoh:latest docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/rokoh:latest
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh
docker image prune -f
- name: Prune Docker resources
run: docker system prune -af --volumes

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -3,12 +3,8 @@
"WorkspaceRootPath": "C:\\Users\\clive\\source\\repos\\rokoh\\", "WorkspaceRootPath": "C:\\Users\\clive\\source\\repos\\rokoh\\",
"Documents": [ "Documents": [
{ {
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}", "AbsoluteMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|c:\\users\\clive\\source\\repos\\rokoh\\rokoh\\pages\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:.gitea\\workflows\\default.yml||{8B382828-6202-11D1-8870-0000F87579D2}" "RelativeMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|solutionrelative:rokoh\\pages\\shared\\_layout.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}"
},
{
"AbsoluteMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|c:\\users\\clive\\source\\repos\\rokoh\\rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}",
"RelativeMoniker": "D:0:0:{3C910F6E-1007-44D0-910A-5D44B3CCD1B9}|rokoh\\rokoh.csproj|solutionrelative:rokoh\\pages\\index.cshtml||{40D31677-CBC0-4297-A9EF-89D907823A98}"
} }
], ],
"DocumentGroupContainers": [ "DocumentGroupContainers": [
@@ -18,7 +14,7 @@
"DocumentGroups": [ "DocumentGroups": [
{ {
"DockedWidth": 200, "DockedWidth": 200,
"SelectedChildIndex": 3, "SelectedChildIndex": 6,
"Children": [ "Children": [
{ {
"$type": "Bookmark", "$type": "Bookmark",
@@ -29,34 +25,33 @@
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}" "Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
}, },
{ {
"$type": "Document", "$type": "Bookmark",
"DocumentIndex": 1, "Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
"Title": "Index.cshtml",
"DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml",
"RelativeDocumentMoniker": "rokoh\\Pages\\Index.cshtml",
"ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Index.cshtml",
"RelativeToolTip": "rokoh\\Pages\\Index.cshtml",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|",
"WhenOpened": "2024-05-06T12:47:02.897Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "default.yml",
"DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml",
"RelativeDocumentMoniker": ".gitea\\workflows\\default.yml",
"ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\.gitea\\workflows\\default.yml",
"RelativeToolTip": ".gitea\\workflows\\default.yml",
"ViewState": "AQIAAA8AAAAAAAAAAAAcwCMAAAASAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003775|",
"WhenOpened": "2024-05-06T12:33:48.592Z",
"EditorCaption": ""
}, },
{ {
"$type": "Bookmark", "$type": "Bookmark",
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Bookmark",
"Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "_Layout.cshtml",
"DocumentMoniker": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Shared\\_Layout.cshtml",
"RelativeDocumentMoniker": "rokoh\\Pages\\Shared\\_Layout.cshtml",
"ToolTip": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\Pages\\Shared\\_Layout.cshtml",
"RelativeToolTip": "rokoh\\Pages\\Shared\\_Layout.cshtml",
"ViewState": "AQIAAAYAAAAAAAAAAAAAABoAAAAdAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|",
"WhenOpened": "2024-05-19T03:21:15.576Z",
"EditorCaption": ""
} }
] ]
} }

View File

@@ -0,0 +1,46 @@
name: Gitea CI/CD
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: https://registry.rokoh.com
- name: Build Docker image
run: docker build . -t rokoh:latest -f rokoh/Dockerfile
- name: Tag Docker image
run: docker tag rokoh:latest registry.rokoh.com/rokoh:latest
- name: Push Docker image to registry
run: docker push registry.rokoh.com/rokoh:latest
- name: SSH Deploy
uses: appleboy/ssh-action@v1.0.3
with:
host: 10.1.1.90
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
if docker ps -a --format '{{.Names}}' | grep -q rokoh; then
docker stop rokoh || true
docker rm rokoh || true
docker image rm rokoh:latest
fi
docker login registry.rokoh.com -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} && docker image pull registry.rokoh.com/rokoh:latest
docker run -d -p 2000:80 --restart=always --name rokoh registry.rokoh.com/rokoh
docker image prune -f
- name: Prune Docker resources
run: docker system prune -af --volumes

View File

@@ -7,6 +7,8 @@
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> <link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/rokoh.styles.css" asp-append-version="true" /> <link rel="stylesheet" href="~/rokoh.styles.css" asp-append-version="true" />
<link rel="icon" type="image/x-icon" href="~/img/favicon.ico">
<script defer src="https://analytics.rokoh.com/script.js" data-website-id="52332c23-fdb0-4515-885e-daddf653905a"></script>
</head> </head>
<body> <body>
<header> <header>
@@ -22,6 +24,9 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-page="/Index">Home</a> <a class="nav-link text-dark" asp-area="" asp-page="/Index">Home</a>
</li> </li>
<li class="nav-item">
<a class="nav-link text-dark" href="https://store.rokoh.com">Store</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@@ -35,7 +40,7 @@
<footer class="border-top footer text-muted"> <footer class="border-top footer text-muted">
<div class="container"> <div class="container">
&copy; 2023 - rokoh &copy; 2024 - rokoh
</div> </div>
</footer> </footer>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -15,7 +15,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("rokoh")] [assembly: System.Reflection.AssemblyCompanyAttribute("rokoh")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+39308a68156b9da8ef59719de7e433b3b7a86d5c")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b897f1d24eebf11bc11004eee7df30a2ff36cd1a")]
[assembly: System.Reflection.AssemblyProductAttribute("rokoh")] [assembly: System.Reflection.AssemblyProductAttribute("rokoh")]
[assembly: System.Reflection.AssemblyTitleAttribute("rokoh")] [assembly: System.Reflection.AssemblyTitleAttribute("rokoh")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
a91be419ff338d6da03a1689dec4a3671a7b6d7628ff7122ff34565bdaa3d613 b8d820e06244cb688cb06417a249b8db48dfa91e4c0d94c63cb4b24e859665d2

Binary file not shown.

Binary file not shown.

View File

@@ -173,7 +173,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.204\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.205\\RuntimeIdentifierGraph.json"
} }
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "D39OiO7JQ8vF6kq3f7g5n5ghtL7CT8PA8v9NlBqYvr1uP9OvcUjJc+jdZ3kTUSa5Gdu8CZnALoGomgVi099XVQ==", "dgSpecHash": "DBItZC551oCBLSnIR4C60GteblH1k6R61vAYIHSh85NIQi0e1N2utnteiuwa1+bqZZwiDsV33reVW6oEyYtIFA==",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\rokoh.csproj", "projectFilePath": "C:\\Users\\clive\\source\\repos\\rokoh\\rokoh\\rokoh.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [

View File

@@ -74,7 +74,7 @@
"privateAssets": "all" "privateAssets": "all"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.204\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.205\\RuntimeIdentifierGraph.json"
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB