develop #203

Merged
samuel-p merged 3 commits from develop into main 2023-12-07 00:17:10 +00:00
4 changed files with 13 additions and 57 deletions

View file

@ -1,44 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:lts
commands:
- npm install
- npm run build
- name: deploy-dev
image: alpine
environment:
FTP_HOST:
from_secret: FTP_HOST
FTP_USERNAME:
from_secret: FTP_USERNAME
FTP_PASSWORD:
from_secret: FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ dev.sp-codes.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
when:
branch:
- develop
event:
- push
- name: deploy
image: alpine
environment:
FTP_HOST:
from_secret: FTP_HOST
FTP_USERNAME:
from_secret: FTP_USERNAME
FTP_PASSWORD:
from_secret: FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ sp-codes.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
when:
branch:
- main
event:
- push

View file

@ -4,7 +4,7 @@
"name": "Matrix", "name": "Matrix",
"icon": "i-comments", "icon": "i-comments",
"url": "https://chat.sp-codes.de", "url": "https://chat.sp-codes.de",
"status": "https://matrix.sp-codes.de/_matrix/static/", "status": "1",
"summary": { "summary": {
"de": "Die offene Plattform für sichere und dezentrale Kommunikation.", "de": "Die offene Plattform für sichere und dezentrale Kommunikation.",
"en": "The open platform for secure and decentralized communication." "en": "The open platform for secure and decentralized communication."
@ -15,7 +15,7 @@
"name": "Jitsi Meet", "name": "Jitsi Meet",
"icon": "i-users", "icon": "i-users",
"url": "https://jitsi.sp-codes.de", "url": "https://jitsi.sp-codes.de",
"status": "https://jitsi.sp-codes.de", "status": "2",
"summary": { "summary": {
"de": "Einfache Videokonferenzen mit Leichtigkeit.", "de": "Einfache Videokonferenzen mit Leichtigkeit.",
"en": "Easy video conferencing with ease." "en": "Easy video conferencing with ease."
@ -26,7 +26,7 @@
"name": "Mastodon", "name": "Mastodon",
"icon": "i-mastodon", "icon": "i-mastodon",
"url": "https://social.sp-codes.de", "url": "https://social.sp-codes.de",
"status": "https://social.sp-codes.de/health", "status": "7",
"summary": { "summary": {
"de": "Das soziale Netzwerk für dezentrale und sichere Interaktion.", "de": "Das soziale Netzwerk für dezentrale und sichere Interaktion.",
"en": "The social network for decentralized and secure interaction." "en": "The social network for decentralized and secure interaction."
@ -37,7 +37,7 @@
"name": "PeerTube", "name": "PeerTube",
"icon": "i-peertube", "icon": "i-peertube",
"url": "https://tube.sp-codes.de", "url": "https://tube.sp-codes.de",
"status": "https://tube.sp-codes.de", "status": "9",
"summary": { "summary": {
"de": "Die freie und dezentrale Plattform für gemeinsames Video-Streaming.", "de": "Die freie und dezentrale Plattform für gemeinsames Video-Streaming.",
"en": "The free and decentralized platform for collaborative video streaming." "en": "The free and decentralized platform for collaborative video streaming."
@ -48,7 +48,7 @@
"name": "Pixelfed", "name": "Pixelfed",
"icon": "i-pixelfed", "icon": "i-pixelfed",
"url": "https://pixel.sp-codes.de", "url": "https://pixel.sp-codes.de",
"status": "https://pixel.sp-codes.de", "status": "11",
"beta": true, "beta": true,
"summary": { "summary": {
"de": "Das soziale Netzwerk für den Austausch von Bildern und Fotografie.", "de": "Das soziale Netzwerk für den Austausch von Bildern und Fotografie.",
@ -60,7 +60,7 @@
"name": "Forgejo", "name": "Forgejo",
"icon": "i-git", "icon": "i-git",
"url": "https://git.sp-codes.de", "url": "https://git.sp-codes.de",
"status": "https://git.sp-codes.de", "status": "13",
"summary": { "summary": {
"de": "Die Plattform für einfaches und sicheres Code-Hosting.", "de": "Die Plattform für einfaches und sicheres Code-Hosting.",
"en": "The platform for easy and secure code hosting." "en": "The platform for easy and secure code hosting."
@ -70,7 +70,7 @@
"id": "connectivitycheck", "id": "connectivitycheck",
"name": "Captive Portal Check", "name": "Captive Portal Check",
"icon": "i-wifi", "icon": "i-wifi",
"status": "https://connectivitycheck.sp-codes.de/generate204", "status": "19",
"summary": { "summary": {
"de": "Überprüfung der Verfügbarkeit von Internetzugang.", "de": "Überprüfung der Verfügbarkeit von Internetzugang.",
"en": "Verification of Internet access availability." "en": "Verification of Internet access availability."
@ -81,7 +81,7 @@
"name": "ntfy", "name": "ntfy",
"icon": "i-cloud-download", "icon": "i-cloud-download",
"url": "https://ntfy.sp-codes.de", "url": "https://ntfy.sp-codes.de",
"status": "https://ntfy.sp-codes.de", "status": "18",
"summary": { "summary": {
"de": "Echtzeitbenachrichtigungen mit UnifiedPush-Unterstützung.", "de": "Echtzeitbenachrichtigungen mit UnifiedPush-Unterstützung.",
"en": "Real-time notifications with UnifiedPush support." "en": "Real-time notifications with UnifiedPush support."
@ -92,7 +92,7 @@
"name": "Etherpad", "name": "Etherpad",
"icon": "i-pencil-square", "icon": "i-pencil-square",
"url": "https://pad.sp-codes.de", "url": "https://pad.sp-codes.de",
"status": "https://pad.sp-codes.de", "status": "17",
"summary": { "summary": {
"de": "Gemeinsame Echtzeit-Textbearbeitung für effektive Zusammenarbeit.", "de": "Gemeinsame Echtzeit-Textbearbeitung für effektive Zusammenarbeit.",
"en": "Collaborative real-time text editing for effective collaboration." "en": "Collaborative real-time text editing for effective collaboration."
@ -103,7 +103,7 @@
"name": "Shields", "name": "Shields",
"icon": "i-tags", "icon": "i-tags",
"url": "https://shields.sp-codes.de", "url": "https://shields.sp-codes.de",
"status": "https://shields.sp-codes.de", "status": "20",
"summary": { "summary": {
"de": "Visuelle Badges zur Anzeige von Projektinformationen und Status.", "de": "Visuelle Badges zur Anzeige von Projektinformationen und Status.",
"en": "Visual badges for displaying project information and status." "en": "Visual badges for displaying project information and status."

View file

@ -32,8 +32,8 @@
"en": "Online" "en": "Online"
}, },
"outage": { "outage": {
"de": "Fehler", "de": "Ausfall",
"en": "Error" "en": "Outage"
}, },
"maintenance": { "maintenance": {
"de": "Wartung", "de": "Wartung",

View file

@ -12,7 +12,7 @@
{% if service.status %} {% if service.status %}
<div class="mb-2"> <div class="mb-2">
<a href="https://status.sp-codes.de" target="_blank"> <a href="https://status.sp-codes.de" target="_blank">
<img alt="{{strings.state[locale]}}" src="https://shields.sp-codes.de/endpoint?label={{strings.state[locale]}}&url=https%3A%2F%2Fstatus.sp-codes.de%2Fapi%2Fbadge%3Fservice%3D{{service.status}}%26operational%3D{{strings.operational[locale]}}%26outage%3D{{strings.outage[locale]}}%26maintenance%3D{{strings.maintenance[locale]}}"> <img alt="{{strings.state[locale]}}" src="https://status.sp-codes.de/api/badge/{{service.status}}/status?label={{strings.state[locale]}}&upLabel={{strings.operational[locale]}}&downLabel={{strings.outage[locale]}}&maintenanceLabel={{strings.maintenance[locale]}}">
</a> </a>
</div> </div>
{% endif %} {% endif %}