commit 88c4903c02190629fc14b244953bf352679b5e52 Author: kekskurse Date: Wed Aug 2 16:15:21 2023 +0200 init diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..4e85a98 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2a8645f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.hugo_build.lock diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/content/posts/2023-08-02-webpage-with-action.md b/content/posts/2023-08-02-webpage-with-action.md new file mode 100644 index 0000000..43ef229 --- /dev/null +++ b/content/posts/2023-08-02-webpage-with-action.md @@ -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 +``` \ No newline at end of file diff --git a/content/services/drone.md b/content/services/drone.md new file mode 100644 index 0000000..0e68b70 --- /dev/null +++ b/content/services/drone.md @@ -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/). \ No newline at end of file diff --git a/content/services/git.md b/content/services/git.md new file mode 100644 index 0000000..ca73ed4 --- /dev/null +++ b/content/services/git.md @@ -0,0 +1,7 @@ +--- +title: "Git" +date: 2023-08-02T14:49:09+02:00 +draft: false +cc: "" +serviceurl: "https://git.keks.cloud" +--- \ No newline at end of file diff --git a/content/services/mailserver.md b/content/services/mailserver.md new file mode 100644 index 0000000..ea6fa5b --- /dev/null +++ b/content/services/mailserver.md @@ -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 | diff --git a/content/services/monitoring.md b/content/services/monitoring.md new file mode 100644 index 0000000..645cbae --- /dev/null +++ b/content/services/monitoring.md @@ -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" +--- \ No newline at end of file diff --git a/content/services/nextcloud.md b/content/services/nextcloud.md new file mode 100644 index 0000000..2b4db8f --- /dev/null +++ b/content/services/nextcloud.md @@ -0,0 +1,7 @@ +--- +title: "Nextcloud" +date: 2023-08-02T14:49:09+02:00 +draft: false +cc: "" +serviceurl: "https://nc.keks.cloud" +--- \ No newline at end of file diff --git a/content/services/pad.md b/content/services/pad.md new file mode 100644 index 0000000..9550d0a --- /dev/null +++ b/content/services/pad.md @@ -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) \ No newline at end of file diff --git a/content/services/wekan.md b/content/services/wekan.md new file mode 100644 index 0000000..7975e0b --- /dev/null +++ b/content/services/wekan.md @@ -0,0 +1,7 @@ +--- +title: "Wekan" +date: 2023-08-02T14:49:09+02:00 +draft: false +cc: "" +serviceurl: "https://wekan.keks.cloud" +--- \ No newline at end of file diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..1d7c819 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,3 @@ +baseURL = 'http://example.org/' +languageCode = 'en-us' +title = 'My New Hugo Site' diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..10a6b5e --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,15 @@ + + + + {{ .Title }} | {{ .Site.Title }} + + + + + + +
+ {{- block "main" . }}{{- end }} +
+ + \ No newline at end of file diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..1c760af --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,27 @@ +{{- define "main" -}} +

Keks.Cloud

+

Just some Services

+

Services

+ +

News

+ +{{ end }} + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..d418d4e --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,8 @@ + +{{- define "main" -}} +Zurück + +

{{ .Page.Title }}

+ + {{ .Content }} +{{ end }} \ No newline at end of file