changed url

This commit is contained in:
Denys Konovalov 2022-03-20 19:18:39 +01:00
parent 214b412246
commit 2d38f550ab
7 changed files with 13 additions and 55 deletions

@ -1,13 +0,0 @@
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

@ -1,22 +0,0 @@
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
submodules: true
- name: Hugo to GitHub Pages
uses: chabad360/hugo-gh-pages@master
with:
githubToken: ${{ secrets.TOKEN }}
cname:
branch: master
repo: eesev9ie/eesev9ie.github.io
hugoVersion: 0.95.0
args: --gc --minify --cleanDestinationDir

0
.hugo_build.lock Normal file

@ -1,5 +1,5 @@
######################## default configuration #################### ######################## default configuration ####################
baseURL = "https://eesev9ie.github.io/" baseURL = "https://neu.cantorgymnasium.de/"
title = "Georg-Cantor-Gymnasium" title = "Georg-Cantor-Gymnasium"
paginate = "6" paginate = "6"
summaryLength = "10" summaryLength = "10"

@ -30,15 +30,15 @@ Der Inhalt der Website wird mithilfe von [Markdown](https://de.wikipedia.org/wik
Für eine einfache Möglichkeit der Content-Verwaltung ist in die Website ein Content-Management-System(CMS) auf der Basis von [Netlify CMS](https://netlifycms.org) integriert. Für eine einfache Möglichkeit der Content-Verwaltung ist in die Website ein Content-Management-System(CMS) auf der Basis von [Netlify CMS](https://netlifycms.org) integriert.
Der Zugriff auf das CMS ist für jeden freigegeben, der Mitglied von <https://github.com/eesev9ie> ist. Der Zugriff auf das CMS ist für jeden freigegeben, der das Repository auf GitLab bearbeiten kann.
## Entwicklung ## Entwicklung
Wer selbst an der Website mitentwickeln möchte, braucht als Erstes einen [GitHub](https://github.com) Account. Dann kann man sich [bei mir melden](mailto:service@lxdb.de) um dann ggf. Zugriff auf die Bearbeitung der Website oder eine Anleitung für die externe Bearbeitung zu bekommen. Wer selbst an der Website mitentwickeln möchte, braucht als Erstes einen [GitLab](https://gitlab.cantorgymnasium.de) Account. Dann kann man sich [bei mir melden](mailto:service@lxdb.de) um dann ggf. Zugriff auf die Bearbeitung der Website oder eine Anleitung für die externe Bearbeitung zu bekommen.
## Quellen ## Quellen
* Der Quellcode der Website wird [hier](https://github.com/eesev9ie/gcg-website/) auf GitHub gespeichert * Der Quellcode der Website wird [hier](https://gitlab.cantorgymnasium.de/cantortechnik/gcg-website/) auf GitHub gespeichert
* Die Website wird mit Hilfe von [GitHub Pages](https://github.io) aus [diesem Repository](https://github.com/eesev9ie/eesev9ie.github.io) gehostet * Die Website wird aus [diesem Repository](https://gitlab.cantorgymnasium.de/cantortechnik/website-build/) gehostet
{{% /content %}} {{% /content %}}

@ -1,9 +1,3 @@
# backend:
# name: github
# repo: eesev9ie/gcg-website
# branch: master
# site_domain: eesev9ie.netlify.app
backend: backend:
name: gitlab name: gitlab
repo: cantortechnik/gcg-website repo: cantortechnik/gcg-website
@ -13,12 +7,11 @@ backend:
api_root: https://gitlab.cantorgymnasium.de/api/v4 api_root: https://gitlab.cantorgymnasium.de/api/v4
base_url: https://gitlab.cantorgymnasium.de base_url: https://gitlab.cantorgymnasium.de
auth_endpoint: oauth/authorize auth_endpoint: oauth/authorize
##base_url: http://localhost:8000
media_folder: "static/media" media_folder: "static/media"
public_folder: "/media" public_folder: "/media"
site_url: https://eesev9ie.github.io site_url: https://neu.cantorgymnasium.de
display_url: https://eesev9ie.github.io display_url: https://neu.cantorgymnasium.de
logo_url: /media/logo_y.svg logo_url: /media/logo_y.svg
locale: "de" locale: "de"
publish_mode: editorial_workflow publish_mode: editorial_workflow

@ -153,13 +153,13 @@ CMS.registerEditorComponent({
}); });
</script> </script>
<script> <script>
CMS.registerPreviewStyle("https://eesev9ie.github.io/plugins/bootstrap/bootstrap.min.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/bootstrap/bootstrap.min.css");
CMS.registerPreviewStyle("https://eesev9ie.github.io/plugins/slick/slick.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/slick/slick.css");
CMS.registerPreviewStyle("https://eesev9ie.github.io/plugins/animate/animate.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/animate/animate.css");
CMS.registerPreviewStyle("https://eesev9ie.github.io/plugins/venobox/venobox.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/venobox/venobox.css");
CMS.registerPreviewStyle("https://eesev9ie.github.io/plugins/themify-icons/themify-icons.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/themify-icons/themify-icons.css");
CMS.registerPreviewStyle("https://code.cdn.mozilla.net/fonts/fira.css"); CMS.registerPreviewStyle("https://code.cdn.mozilla.net/fonts/fira.css");
CMS.registerPreviewStyle("https://eesev9ie.github.io/scss/style.css"); CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/scss/style.css");
</script> </script>
<script> <script>
var PostPreview = createClass({ var PostPreview = createClass({