init
GitHub Pages / deploy (push) Successful in 13s Details

This commit is contained in:
Kekskurse 2023-08-02 16:15:21 +02:00
commit 88c4903c02
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
15 changed files with 226 additions and 0 deletions

View File

@ -0,0 +1,37 @@
name: GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: docker
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: false # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: '0.112.0'
# extended: true
- name: Build
run: hugo --minify
- name: copy file via ssh password
uses: https://github.com/appleboy/scp-action@v0.1.4
with:
host: "static.keks.cloud"
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "public/*"
target: "/var/www/keks.cloud/"
strip_components: 1

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.hugo_build.lock

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@ -0,0 +1,47 @@
---
title: "Webpage with Forgejo Action"
date: 2023-08-02T14:49:09+02:00
draft: false
---
To keep the Webpage in sync with the state in git we now use a forgejo action pipeline.
```
name: GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: docker
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: '0.112.0'
# extended: true
- name: Build
run: hugo --minify
- name: copy file via ssh password
uses: https://github.com/appleboy/scp-action@v0.1.4
with:
host: "static.keks.cloud"
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "public/*"
target: "/var/www/keks.cloud/"
strip_components: 1
```

View File

@ -0,0 +1,9 @@
---
title: "Drone (deprecated)"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "https://drone.keks.cloud"
---
This service will be turnd of soon, checkout [forgejo actions](https://forgejo.org/docs/v1.20/user/actions/).

7
content/services/git.md Normal file
View File

@ -0,0 +1,7 @@
---
title: "Git"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "https://git.keks.cloud"
---

View File

@ -0,0 +1,37 @@
---
title: "Mailserver"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
---
## New Domain/Account/Alias
You need to write a mail.
## Change Password
You can use the following selfservice to change the Password [mail-password.keks.cloud](https://mail-password.keks.cloud/).
## Mailserver Data
Your username is your complete domain (with the @domain.de).
| Name | Value |
| ---- | ----- |
| IMAP Address | mail.keks.cloud |
| IMAP Port | 143 |
| IMAP SSL | STARTTLS |
| IMAP Authentication | Normal Password |
| SMTP Address | mail.keks.cloud |
| SMTP Port | 587 |
| SMTP SSL | STARTTLS |
| SMTP Authentication | Normal Password |
## DNS Settings for your Domain
| Subdomain | Typ | Value |
| --------- | --- | ----- |
| @ | MX | mail.keks.cloud |
| @ | TXT | v=spf1 a:mail.keks.cloud ?all |
| _dmarc | TXT | v=DMARC1; p=reject; |
| 2018._domainkey | TXT | v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1z0thPYq2w43JhirDW+3sQUrf6Hq+cvbdfLyB0KGpCBUwefqJ3OeuLt/WV7SkVMF25OlddZWVZDn1NGFzJ3xRwajfv4kC7taDTtHELPi1bt6MNYQ+K73Yl/QRskNylOya5HSOK7/RlbMEDl4FUAI1e7/84mySt5stuaTAgKzjI5l/P0HUbRYqnBaG/CnIphP2epp0NzfJQdfJHReWPXrRSdcnl4Qv9OGNeuSjvP4Ens42xnpmFIaNP3h7CVycXOpl0czQjiWVo3dBziLSL6e6pMioda0/J+2G57C9sLRxqfPAjV7crFnZ8O0csVpbtUZb1rEXXAfrz9SbEZKGyIHVwIDAQAB |

View File

@ -0,0 +1,7 @@
---
title: "Monitoring"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "http://monitor.keks.cloud:3001/status/kekscloud"
---

View File

@ -0,0 +1,7 @@
---
title: "Nextcloud"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "https://nc.keks.cloud"
---

8
content/services/pad.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "Pad"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "https://pad.keks.cloud"
---
The Old Pads (codiMD) will be avalible for a short time under [pad-old.keks.cloud](https://pad-old.keks.cloud)

View File

@ -0,0 +1,7 @@
---
title: "Wekan"
date: 2023-08-02T14:49:09+02:00
draft: false
cc: ""
serviceurl: "https://wekan.keks.cloud"
---

3
hugo.toml Normal file
View File

@ -0,0 +1,3 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<title itemprop="name">{{ .Title }} | {{ .Site.Title }}</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.4.1/milligram.css">
</head>
<body>
<div class="container" style="margin-top: 30px;">
{{- block "main" . }}{{- end }}
</div>
</body>
</html>

View File

@ -0,0 +1,27 @@
{{- define "main" -}}
<h1>Keks.Cloud</h1>
<p>Just some Services</p>
<h2>Services</h2>
<ul>
{{ range (where .Site.RegularPages ".Type" "services") }}
<li>
{{ .Title }}
{{ if .Params.serviceurl }}
[<a href="{{ .Params.serviceurl }}">Zum Service</a>]
{{ end }}
{{ if .Content }}
[<a href="{{ .Permalink }}">Documentation</a>]
{{ end }}
</li>
{{ end }}
</ul>
<h2>News</h2>
<ul>
{{ range (where .Site.RegularPages ".Type" "posts") }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a> from {{ .PublishDate | time.Format "02.01.2006" }}
</li>
{{ end }}
</ul>
{{ end }}

View File

@ -0,0 +1,8 @@
{{- define "main" -}}
<a href="/">Zurück</a>
<h3>{{ .Page.Title }}</h3>
{{ .Content }}
{{ end }}