Compare commits
No commits in common. "b03c4ff502b1384fc5a708d33d122f6092b1c1cf" and "425e3425be55564851c43465e4485c5ffc3c5bd9" have entirely different histories.
b03c4ff502
...
425e3425be
|
@ -1,54 +0,0 @@
|
|||
steps:
|
||||
|
||||
- name: set_path_for_branch
|
||||
image: alpine
|
||||
commands:
|
||||
- echo 'step= set_path_for_branch'
|
||||
- echo "PATH_FOR_BRANCH=$CI_COMMIT_BRANCH" >> environment_variables
|
||||
- cat environment_variables
|
||||
- sed "s|blog/'|blog/${CI_COMMIT_BRANCH}/'|" sb/hugo.yaml > hugo-changed.yaml
|
||||
- cat sb/hugo.yaml
|
||||
- cat hugo-changed.yaml
|
||||
- mv hugo-changed.toml sb/hugo.yaml
|
||||
# nur zum Prüfen, was es an Hugo Konfigs gibt
|
||||
- find . -name "*hugo*yaml"
|
||||
- find . -name "*hugo*toml"
|
||||
when:
|
||||
- branch:
|
||||
include: '**'
|
||||
#exclude: main
|
||||
|
||||
- name: build_by_hugo
|
||||
image: hugomods/hugo
|
||||
commands:
|
||||
- hugo version
|
||||
- hugo --cleanDestinationDir -s sb --logLevel info
|
||||
|
||||
- name: copy_to_server
|
||||
image: alpine
|
||||
environment:
|
||||
SSH_HOST:
|
||||
from_secret: ssh_host
|
||||
SSH_USER:
|
||||
from_secret: ssh_user
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
SSH_PORT:
|
||||
from_secret: ssh_port
|
||||
TARGET_PATH:
|
||||
from_secret: target_path
|
||||
commands:
|
||||
|
||||
- DEST_PATH_BASE=public/oer_community/sb/blog
|
||||
#- if [ "$CI_COMMIT_BRANCH" != "main" ]; then echo "not <main>"; echo $CI_COMMIT_BRANCH; DESTINATION_PATH="$DEST_PATH_BASE/${CI_COMMIT_BRANCH}"; fi
|
||||
- echo $DESTINATION_PATH
|
||||
|
||||
- apk add --no-cache openssh
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/deployKey
|
||||
- chmod 600 ~/.ssh/deployKey
|
||||
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
|
||||
- chmod 600 ~/.ssh/known_hosts
|
||||
|
||||
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "mkdir -p $DESTINATION_PATH"
|
||||
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$DESTINATION_PATH/
|
|
@ -13,42 +13,12 @@
|
|||
|
||||
body {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
font-size: 18px;
|
||||
line-height: 1.6;
|
||||
word-break: break-word;
|
||||
background: var(--theme);
|
||||
}
|
||||
|
||||
body. {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
line-height: 1.6;
|
||||
word-break: break-word;
|
||||
background: var(--theme);
|
||||
}
|
||||
|
||||
/*
|
||||
.list > * {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.post-entry {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
}
|
||||
.entry-header {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
}
|
||||
.entry-content {
|
||||
font-family: 'Roboto Condensed', sans-serif;
|
||||
font-size: 22px;
|
||||
}
|
||||
*/
|
||||
|
||||
/* body#top.list */
|
||||
|
||||
:root {
|
||||
--gap: 24px;
|
||||
--content-gap: 20px;
|
Loading…
Reference in a new issue