Merge pull request 'develop' (#203) from develop into main
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m15s
Build and Deploy Website / Deploy Dev Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Successful in 13s

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

View file

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

View file

@ -12,7 +12,7 @@
{% if service.status %}
<div class="mb-2">
<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>
</div>
{% endif %}