move docs to new domain

uci-hugo-doc
Robert Kaussow 2020-01-14 22:42:16 +01:00
parent 4616c38122
commit 05dd03396c
4 changed files with 10 additions and 11 deletions

View File

@ -86,8 +86,8 @@ steps:
key: key:
from_secret: ssh_key from_secret: ssh_key
script: script:
- cp -R /var/www/virtual/geeklab/html/docs.geeklabor.de/ /var/www/virtual/geeklab/html/docs_freeze/ - cp -R /var/www/virtual/geeklab/html/geekdocs.de/ /var/www/virtual/geeklab/html/docs_freeze/
- ln -sfn /var/www/virtual/geeklab/html/docs_freeze /var/www/virtual/geeklab/docs.geeklabor.de - ln -sfn /var/www/virtual/geeklab/html/docs_freeze /var/www/virtual/geeklab/geekdocs.de
username: username:
from_secret: ssh_username from_secret: ssh_username
@ -102,7 +102,7 @@ steps:
rm: true rm: true
source: exampleSite/public/* source: exampleSite/public/*
strip_components: 2 strip_components: 2
target: /var/www/virtual/geeklab/html/docs.geeklabor.de/ target: /var/www/virtual/geeklab/html/geekdocs.de/
username: username:
from_secret: ssh_username from_secret: ssh_username
@ -115,7 +115,7 @@ steps:
key: key:
from_secret: ssh_key from_secret: ssh_key
script: script:
- ln -sfn /var/www/virtual/geeklab/html/docs.geeklabor.de /var/www/virtual/geeklab/docs.geeklabor.de - ln -sfn /var/www/virtual/geeklab/html/geekdocs.de /var/www/virtual/geeklab/geekdocs.de
- rm -rf /var/www/virtual/geeklab/html/docs_freeze/ - rm -rf /var/www/virtual/geeklab/html/docs_freeze/
username: username:
from_secret: ssh_username from_secret: ssh_username
@ -168,6 +168,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: a65d2e08f06defdaf8468b667251d0b30c0bc834a6e110374b6b3172e858809a hmac: 938d5b538d9c2833ab1cd4a09b78747157c9c53e5a7f9f0004a75ef33f136dd9
... ...

View File

@ -1,7 +1,6 @@
# hugo server --minify --themesDir ... --baseURL=http://0.0.0.0:1313 ---
baseURL: https://geekdocs.de/
baseURL: https://docs.geeklabor.de/ title: Geekdocs
title: Geekdoc
theme: hugo-geekdoc theme: hugo-geekdoc
pygmentsUseClasses: true pygmentsUseClasses: true
pygmentsCodeFences: true pygmentsCodeFences: true

View File

@ -58,7 +58,7 @@ params:
geekdocLogo: logo.png geekdocLogo: logo.png
# (Optional, default false) Render menu from data file im 'data/menu/main.yaml'. # (Optional, default false) Render menu from data file im 'data/menu/main.yaml'.
# See also https://docs.geeklabor.de/usage/menus/#bundle-menu # See also https://geekdocs.de/usage/menus/#bundle-menu
geekdocMenuBundle: true geekdocMenuBundle: true
# (Optional, default true) Show page navigation links at the bottom of each # (Optional, default true) Show page navigation links at the bottom of each

View File

@ -1,4 +1,4 @@
User-agent: * User-agent: *
Disallow: /categories/* Disallow: /categories/*
Disallow: /tags/* Disallow: /tags/*
Sitemap: https://docs.geeklabor.de/sitemap.xml Sitemap: https://geekdocs.de/sitemap.xml