diff --git a/README.md b/README.md index d61fb04..86dc1de 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,15 @@ A live server can be started as usual with hugo: ## Deployment +The build and deploy workflow is provided by the contained shell script `build+deploy.sh`. + +**Tasks:** + +- clean the output folder +- build the project +- upload to the remote SSH target + ```bash -rm -rf public -hugo -rsync --archive --delete --exclude /.htpasswd public/ \ - ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/ -rsync --archive public/.htpasswd \ - ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/ +chmod +x build+deploy.sh +./build+deploy.sh ``` \ No newline at end of file diff --git a/build+deploy.sh b/build+deploy.sh new file mode 100755 index 0000000..a7a6869 --- /dev/null +++ b/build+deploy.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh +# Build site and deploy to remote via SSH +set -o nounset ## set -u : exit the script if you try to use an uninitialised variable +set -o errexit ## set -e : exit the script if any statement returns a non-true return value +#set -o xtrace ## set -x : Print command traces before executing command + +rm -rf public +hugo +rsync -v --archive --delete --exclude /.htpasswd public/ \ + ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/ +rsync -v --archive public/.htpasswd \ + ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/ diff --git a/content/index.en.md b/content/index.en.md index e2f9e26..e081f43 100644 --- a/content/index.en.md +++ b/content/index.en.md @@ -1,48 +1,60 @@ --- -languages: ['en', 'de', 'fr'] items: +# - url: https://forum.ecogood.org +# solution: DIscourse +# title: +# en: Forum +# de: Discussion Board +# fr: Forum +# cssClass: forum - url: https://wiki.ecogood.org - title: Wiki (Confluence) - description: - en: Documentation platform - de: Dokumentationsplattform - fr: plate-forme de documentation - icon: confluence.svg + solution: Confluence + title: + en: Wiki + de: Wiki + fr: Wiki + cssClass: wiki - url: https://jira.ecogood.org - title: Tickets (JIRA) - description: + solution: JIRA + title: en: Ticket system - de: Ticketsystem für Aufgaben, Fehlermeldung und Projektplanung + de: Ticketsystem fr: Système de billets - icon: jira.svg + cssClass: projekte - url: https://mail.ecogood.org - title: E-Mail (Zimbra) - description: + solution: Zimbra + title: en: Webmail - de: Mailverwaltung + de: E-Mail fr: Administration du courrier - icon: zimbra.png + cssClass: mail - url: https://list.ecogood.org - title: Mailinglisten (Sympa) - description: + solution: Sympa + title: en: E-Mail lists - de: Gruppenkommunikation per E-Mail + de: Mailinglisten fr: Communication de groupe par e-mail - icon: sympa.png + cssClass: maillist - url: https://datacloud.ecogood.org - title: Nextcloud - description: - description: - en: File based cloud application platform - de: Datenspeicher und Austausch, Kalender, Kontakte, Online-Office - fr: Stockage de données dans le cloud - icon: nextcloud.png + solution: Nextcloud + title: + en: File exchange + de: Datenspeicher + fr: Données dans le cloud + cssClass: cloud - url: https://backoffice.ecogood.org - title: Backoffice (SmartWE) - description: - description: + solution: SmartWE + title: en: Membership managment de: Mitgliederverwaltung fr: gestion des membres - icon: cas.png + cssClass: smartwe +# - url: https://gitea.ecogood.org +# solution: Gitea +# title: +# en: Code repo +# de: Quellcode +# fr: Codé +# cssClass: code + --- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a43ce38..0aa8b0d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,8 +10,6 @@
-