Falschen environment-Abschnitt korrigiert
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Stefan H. 2023-02-08 11:43:05 +01:00
parent bc8414ccb6
commit 4e108a3a18

View file

@ -8,24 +8,20 @@ branch:
- master
steps:
- name: Version check
image: klakegg/hugo:ext-alpine-ci
commands:
- echo "Checking Hugo version."
- hugo version
- hugo mod graph
- name: Submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: Build
image: klakegg/hugo:ext-alpine-ci
commands:
- hugo --destination /drone/src/build
- name: Upload
image: drillster/drone-rsync
commands:
@ -35,7 +31,9 @@ steps:
- echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config
# - rsync -rv -e "ssh -p 22222" /drone/src/build/ hadr@server4.unhb.de:/htdocs/ --checksum
- scp -P 22222 -r /drone/src/build/* hadr@server4.un-hack-bar.de:/htdocs/
environment:
SSH_KEY:
from_secret: drone_ssh_key
- name: notify
image: plugins/matrix
settings:
@ -53,9 +51,6 @@ steps:
{{/success}}
:stopwatch: {{ since build.started }}
:gear: {{build.link}}
environment:
SSH_KEY:
from_secret: drone_ssh_key
MATRIX_PASSWD:
from_secred: matrix_password